Browse Source

refactor: remove screensaver

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/1052/head
Pranav C 3 years ago
parent
commit
97ed3b5498
  1. 4
      packages/nc-gui/components/project/settings/appearance.vue
  2. 8
      packages/nc-gui/components/projectTabs.vue
  3. 2
      packages/nocodb/src/lib/noco/meta/NcMetaMgr.ts

4
packages/nc-gui/components/project/settings/appearance.vue

@ -42,7 +42,7 @@
</v-tooltip> </v-tooltip>
</td> </td>
</tr>--> </tr>-->
<tr> <!-- <tr>
<td>Show Screensaver</td> <td>Show Screensaver</td>
<td> <td>
<v-tooltip bottom> <v-tooltip bottom>
@ -59,7 +59,7 @@
Show/hide metatables Show/hide metatables
</v-tooltip> </v-tooltip>
</td> </td>
</tr> </tr>-->
<tr> <tr>
<td>Show M2M Tables</td> <td>Show M2M Tables</td>
<td> <td>

8
packages/nc-gui/components/projectTabs.vue

@ -285,7 +285,7 @@
@create="$emit('tableCreate',$event); dialogCreateTableShow =false;" @create="$emit('tableCreate',$event); dialogCreateTableShow =false;"
/> />
<screensaver v-if="showScreensaver && !($store.state.project.projectInfo && $store.state.project.projectInfo.ncMin)" class="screensaver" /> <!-- <screensaver v-if="showScreensaver && !($store.state.project.projectInfo && $store.state.project.projectInfo.ncMin)" class="screensaver" />-->
</v-container> </v-container>
</template> </template>
@ -313,7 +313,7 @@ import ApiClientSwaggerTab from './project/apiClientSwagger'
import XcMeta from './project/settings/xcMeta' import XcMeta from './project/settings/xcMeta'
import XcInfo from './project/xcInfo' import XcInfo from './project/xcInfo'
import SwaggerClient from '@/components/project/swaggerClient' import SwaggerClient from '@/components/project/swaggerClient'
import Screensaver from '@/components/screensaver' // import Screensaver from '@/components/screensaver'
import DlgTableCreate from '@/components/utils/dlgTableCreate' import DlgTableCreate from '@/components/utils/dlgTableCreate'
import AppStore from '@/components/project/appStore' import AppStore from '@/components/project/appStore'
import AuthTab from '@/components/authTab' import AuthTab from '@/components/authTab'
@ -327,7 +327,7 @@ import AuditTab from '~/components/project/auditTab'
export default { export default {
components: { components: {
SwaggerClient, SwaggerClient,
Screensaver, // Screensaver,
DlgTableCreate, DlgTableCreate,
AuditTab, AuditTab,
AppStore, AppStore,
@ -511,7 +511,7 @@ export default {
// // } // // }
// ); // );
this.checkInactiveState() // this.checkInactiveState()
}, },
mounted() { mounted() {
}, },

2
packages/nocodb/src/lib/noco/meta/NcMetaMgr.ts

@ -371,7 +371,7 @@ export default class NcMetaMgr {
break; break;
default: default:
next(); return next();
break; break;
} }
} catch (e) { } catch (e) {

Loading…
Cancel
Save