fix: cancel text and icon

This commit is contained in:
Methapon2001 2024-12-25 09:42:55 +07:00
parent c9cf2053f3
commit d3bd7b986e
5 changed files with 40 additions and 2 deletions

View file

@ -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) {

View file

@ -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>