Skip to content

📚 The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fixes and remove console.log used in tests

Smaug6739059959724afa
diff --git a/frontend/app/components/AppSelect.vue b/frontend/app/components/AppSelect.vue
index aa3c878d..cb49f28d 100644
--- a/frontend/app/components/AppSelect.vue
+++ b/frontend/app/components/AppSelect.vue
@@ -50,7 +50,6 @@ const filteredItems = computed(() => {
});
function toggleDropdown() {
- console.log('Toggling dropdown');
open.value = true;
search.value = '';
nextTick(() => {
@@ -106,6 +105,7 @@ button,
.search-input {
cursor: text;
border: none;
+ padding: 6px 10px;
}
.app-select:has(.dropdown) button,
@@ -124,7 +124,9 @@ button,
background: var(--bg-color);
border-radius: 6px;
margin-top: 4px;
- z-index: 10000000;
+ padding: 2px;
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
+ z-index: 1000;
}
ul {
diff --git a/frontend/app/components/Sidebar/SidebarItem.vue b/frontend/app/components/Sidebar/SidebarItem.vue
index ce89d7e2..67647ad3 100644
--- a/frontend/app/components/Sidebar/SidebarItem.vue
+++ b/frontend/app/components/Sidebar/SidebarItem.vue
@@ -21,7 +21,6 @@ const { isOpened } = useSidebar();
const props = defineProps<{ item: Item }>();
const dotMenu = ref();
const customClass = computed(() => {
- if (props.item.data.type === 'category' && props.item.data.name === 'Mathématiques') console.log(props.item.data.color, getAppColor(props.item.data.color as number));
if ('color' in props.item.data && props.item.data.color != -1) return `item-icon ${getAppColor(props.item.data.color as number)}`;
});
const isActive = ref(false);