fix: Move button
This commit is contained in:
parent
4fd39c79e3
commit
ce9b06b3ca
1 changed files with 16 additions and 15 deletions
|
|
@ -117,6 +117,21 @@ onMounted(getCabinet)
|
||||||
v-if="currentPath === '/' || !currentPath"
|
v-if="currentPath === '/' || !currentPath"
|
||||||
label="ตู้เอกสารทั้งหมด"
|
label="ตู้เอกสารทั้งหมด"
|
||||||
/>
|
/>
|
||||||
|
<q-btn
|
||||||
|
v-if="
|
||||||
|
mode === 'admin' &&
|
||||||
|
viewMode === 'view_module' &&
|
||||||
|
currentDept === 0
|
||||||
|
"
|
||||||
|
class="q-px-md q-ml-md al"
|
||||||
|
label="สร้างตู้เก็บเอกสาร"
|
||||||
|
type="submit"
|
||||||
|
color="primary"
|
||||||
|
dense
|
||||||
|
icon="add"
|
||||||
|
@click="() => triggerFolderCreate()"
|
||||||
|
id="createFolder"
|
||||||
|
/>
|
||||||
<q-breadcrumbs-el
|
<q-breadcrumbs-el
|
||||||
class="text-primary pointer"
|
class="text-primary pointer"
|
||||||
v-for="(fragments, index) in currentPath
|
v-for="(fragments, index) in currentPath
|
||||||
|
|
@ -139,21 +154,7 @@ onMounted(getCabinet)
|
||||||
</q-breadcrumbs>
|
</q-breadcrumbs>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<q-btn
|
|
||||||
v-if="
|
|
||||||
mode === 'admin' &&
|
|
||||||
viewMode === 'view_module' &&
|
|
||||||
currentDept === 0
|
|
||||||
"
|
|
||||||
class="q-px-md q-ml-md al"
|
|
||||||
label="สร้างตู้เก็บเอกสาร"
|
|
||||||
type="submit"
|
|
||||||
color="primary"
|
|
||||||
dense
|
|
||||||
icon="add"
|
|
||||||
@click="() => triggerFolderCreate()"
|
|
||||||
id="createFolder"
|
|
||||||
/>
|
|
||||||
</span>
|
</span>
|
||||||
<div>
|
<div>
|
||||||
<q-btn
|
<q-btn
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue