π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: cleanup baselist sidebar
Ramesh Maneedda98dae2b9
diff --git a/packages/nc-gui/composables/useBaseActions.ts b/packages/nc-gui/composables/useBaseActions.tsindex b84e17bcf9..0972bf45e5 100644--- a/packages/nc-gui/composables/useBaseActions.ts+++ b/packages/nc-gui/composables/useBaseActions.ts@@ -132,6 +132,18 @@ const [useProvideBaseActions, useBaseActions] = useInjectionState((closeModal: (})}+ const switchWorkspace = async (workspaceId?: string) => {+ if (!workspaceId || activeWorkspaceId.value === workspaceId) return++ $e('a:workspace:switch')++ closeModal()++ navigateToProject({+ workspaceId,+ })+ }+return {dialogState,onRename,@@ -144,6 +156,7 @@ const [useProvideBaseActions, useBaseActions] = useInjectionState((closeModal: (onReorder,onSelect,closeModal,+ switchWorkspace,}}, 'baseActions')