Skip to content

Commit ed58587

Browse files
Stefan ErnstStefan Ernst
authored andcommitted
Collection List customization
1 parent a700104 commit ed58587

12 files changed

Lines changed: 1141 additions & 350 deletions

File tree

frontend/src/lib/features/collections/CollectionBoard.svelte

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -148,17 +148,13 @@
148148
// Get statuses for this workspace (uses workflow from config set or default workflow)
149149
statuses = await api.workspaces.getStatuses(workspaceId) || [];
150150
151-
// Load board configuration if exists (only for non-default collections)
152-
if (collectionId) {
153-
try {
154-
boardConfig = await api.collections.getBoardConfiguration(collectionId, workspaceId);
155-
} catch (error) {
156-
if (error.status !== 404) {
157-
console.error('Failed to load board configuration:', error);
158-
}
159-
boardConfig = null;
151+
// Load board configuration if exists
152+
try {
153+
boardConfig = await api.collections.getBoardConfiguration(collectionId, workspaceId);
154+
} catch (error) {
155+
if (error.status !== 404) {
156+
console.error('Failed to load board configuration:', error);
160157
}
161-
} else {
162158
boardConfig = null;
163159
}
164160

0 commit comments

Comments
 (0)