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`"
|
||||
two-way
|
||||
:model-value="props.row.status !== 'INACTIVE'"
|
||||
@click="() => $emit('status', props.row)"
|
||||
@click="() => $emit('toggleStatus', props.row)"
|
||||
/>
|
||||
<span class="q-pl-md">
|
||||
{{
|
||||
|
|
@ -321,7 +321,7 @@ const prop = withDefaults(
|
|||
@update-card="() => $emit('edit', props.row)"
|
||||
@enter-card="() => $emit('view', props.row)"
|
||||
@delete-card="() => $emit('delete', props.row)"
|
||||
@toggle-status="() => $emit('status', props.row)"
|
||||
@toggle-status="() => $emit('toggleStatus', props.row)"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue