Browse Source

fix: remove leftover document button in mobile sidebar footer

Co-authored-by: CodeFree <codefree@chinatelcom.cn>
feat/agent-independence
npmrun 2 months ago
parent
commit
713df0ab46
  1. 4
      app/components/agent/AgentSidebar.vue

4
app/components/agent/AgentSidebar.vue

@ -122,10 +122,6 @@ const isAdmin = computed(() => props.user?.role === "admin");
<div class="sidebar-footer"> <div class="sidebar-footer">
<div v-if="loggedIn" class="footer-links"> <div v-if="loggedIn" class="footer-links">
<button class="footer-link" @click="emit('showDocuments')">
<Icon name="lucide:file-text" />
<span>文档</span>
</button>
<NuxtLink to="/settings" class="footer-link"> <NuxtLink to="/settings" class="footer-link">
<Icon name="lucide:settings" /> <Icon name="lucide:settings" />
<span>设置</span> <span>设置</span>

Loading…
Cancel
Save