fix: cancel text and icon
This commit is contained in:
parent
c9cf2053f3
commit
d3bd7b986e
5 changed files with 40 additions and 2 deletions
|
|
@ -68,6 +68,7 @@ async function fetchStats() {
|
|||
|
||||
function triggerCancel(id: string) {
|
||||
dialogWarningClose(t, {
|
||||
message: t('form.warning.cancel'),
|
||||
action: async () => {
|
||||
const res = await requestListStore.cancelRequest(id);
|
||||
if (res) {
|
||||
|
|
|
|||
|
|
@ -160,7 +160,8 @@ function getEmployeeName(
|
|||
hide-edit
|
||||
hide-toggle
|
||||
hide-view
|
||||
@delete="$emit('delete', props.row)"
|
||||
hide-delete
|
||||
@cancel="$emit('delete', props.row)"
|
||||
/>
|
||||
</q-td>
|
||||
</q-tr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue