π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix(nc-gui): only call exit fullscreen if document.fullscreenElement is present
Ramesh Mane06b4aeb9b815
diff --git a/packages/nc-gui/store/sidebar.ts b/packages/nc-gui/store/sidebar.tsindex 0cce570450..1c918d6171 100644--- a/packages/nc-gui/store/sidebar.ts+++ b/packages/nc-gui/store/sidebar.ts@@ -88,7 +88,7 @@ export const useSidebarStore = defineStore('sidebarStore', () => {if (isFullScreen.value) {isLeftSidebarOpen.value = true- if (document?.exitFullscreen) {+ if (document?.exitFullscreen && document?.fullscreenElement) {document.exitFullscreen().catch((err) => {console.warn('Exit fullscreen failed:', err)})