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"
|
class="q-ml-sm"
|
||||||
@click="
|
@click="
|
||||||
() => {
|
() => {
|
||||||
const tempValue = treeFile.find(
|
const tempValue = treeFile.find((v) => v.label === currentMode);
|
||||||
(v) => v.label === $t(`customer.typeFile.${currentMode}`),
|
|
||||||
);
|
|
||||||
|
|
||||||
if (!tempValue) return;
|
if (!tempValue) return;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue