fix: wrong condition
This commit is contained in:
parent
4518d5fb96
commit
17289402fd
1 changed files with 1 additions and 3 deletions
|
|
@ -272,9 +272,7 @@ const { pdf, pages } = usePDF(computed(() => currentFile.value?.url));
|
|||
class="q-ml-sm"
|
||||
@click="
|
||||
() => {
|
||||
const tempValue = treeFile.find(
|
||||
(v) => v.label === $t(`customer.typeFile.${currentMode}`),
|
||||
);
|
||||
const tempValue = treeFile.find((v) => v.label === currentMode);
|
||||
|
||||
if (!tempValue) return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue