refactor: Change name emit
This commit is contained in:
parent
d5e2afea97
commit
d641e1bbcd
1 changed files with 2 additions and 2 deletions
|
|
@ -261,7 +261,7 @@ const prop = withDefaults(
|
||||||
:id="`view-detail-btn-${props.row.name}-status`"
|
:id="`view-detail-btn-${props.row.name}-status`"
|
||||||
two-way
|
two-way
|
||||||
:model-value="props.row.status !== 'INACTIVE'"
|
:model-value="props.row.status !== 'INACTIVE'"
|
||||||
@click="() => $emit('status', props.row)"
|
@click="() => $emit('toggleStatus', props.row)"
|
||||||
/>
|
/>
|
||||||
<span class="q-pl-md">
|
<span class="q-pl-md">
|
||||||
{{
|
{{
|
||||||
|
|
@ -321,7 +321,7 @@ const prop = withDefaults(
|
||||||
@update-card="() => $emit('edit', props.row)"
|
@update-card="() => $emit('edit', props.row)"
|
||||||
@enter-card="() => $emit('view', props.row)"
|
@enter-card="() => $emit('view', props.row)"
|
||||||
@delete-card="() => $emit('delete', props.row)"
|
@delete-card="() => $emit('delete', props.row)"
|
||||||
@toggle-status="() => $emit('status', props.row)"
|
@toggle-status="() => $emit('toggleStatus', props.row)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue