refactor: Clean code
This commit is contained in:
parent
5b2785c75d
commit
e7c6a31bbf
2 changed files with 1 additions and 2 deletions
|
|
@ -266,7 +266,7 @@ const { pdf, pages } = usePDF(computed(() => currentFile.value?.url));
|
|||
</div>
|
||||
|
||||
<div class="q-pa-sm bordered-r bordered-b full-height col scroll">
|
||||
<slot name="form" :mode="currentMode" />
|
||||
<slot name="form" :mode="currentMode.split('.').at(-1)" />
|
||||
|
||||
<div class="row items-center">
|
||||
{{ currentFileSelected }}
|
||||
|
|
|
|||
|
|
@ -187,7 +187,6 @@ defineProps<{
|
|||
Record<string, { label: string; file: { label: string }[] }>
|
||||
>((a, c) => {
|
||||
const _group = c.group || 'other';
|
||||
console.log(c);
|
||||
|
||||
if (!a[_group]) {
|
||||
a[_group] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue