mirror of
https://github.com/AstrBotDevs/AstrBot.git
synced 2026-08-31 01:40:25 +08:00
fix(dashboard): show create folder button on mobile in persona manager (#9812)
On small screens, the sidebar is hidden (d-none d-md-flex), so the "create folder" entry in the toolbar dropdown is the only way for mobile users to create folders. The current v-if="!hasFolders" condition prevents it from showing when folders already exist.
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
</v-list-item-title>
|
||||
</v-list-item>
|
||||
<v-list-item
|
||||
v-if="!hasFolders"
|
||||
v-if="!hasFolders || $vuetify.display.smAndDown"
|
||||
prepend-icon="mdi-folder-plus"
|
||||
@click="showCreateFolderDialog = true"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user