refactor(frontend): split large reimbursement and audit modules
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<button type="button" class="row-action" @click="emit('openAssistant')">{{ item.action }}</button>
|
||||
<button type="button" class="row-action" @click="emit('open-assistant')">{{ item.action }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
@@ -160,7 +160,7 @@ const props = defineProps({
|
||||
assistantModalOpen: { type: Boolean, default: false }
|
||||
})
|
||||
|
||||
const emit = defineEmits(['openAssistant'])
|
||||
const emit = defineEmits(['open-assistant'])
|
||||
const { currentUser } = useSystemState()
|
||||
const { toast } = useToast()
|
||||
const assistantDraft = ref('')
|
||||
@@ -244,7 +244,7 @@ function resetWorkbenchDraft() {
|
||||
}
|
||||
|
||||
function emitAssistant(payload) {
|
||||
emit('openAssistant', payload)
|
||||
emit('open-assistant', payload)
|
||||
resetWorkbenchDraft()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user