Browse Source

code cleanup

pull/5114/head
Daniel Spaude 2 years ago
parent
commit
ee171c2bfe
No known key found for this signature in database
GPG Key ID: 654A3D1FA4F35FFE
  1. 1
      packages/nc-gui/composables/useMapViewDataStore.ts
  2. 1
      packages/nc-gui/pages/[projectType]/form/[viewId]/index/index.vue
  3. 1
      tests/playwright/pages/Dashboard/index.ts

1
packages/nc-gui/composables/useMapViewDataStore.ts

@ -1,4 +1,3 @@
// import { reactive } from 'vue'
import type { ComputedRef, Ref } from 'vue' import type { ComputedRef, Ref } from 'vue'
import type { ColumnType, MapType, PaginatedType, ViewType } from 'nocodb-sdk' import type { ColumnType, MapType, PaginatedType, ViewType } from 'nocodb-sdk'
import { IsPublicInj, ref, storeToRefs, useInjectionState, useMetas, useProject } from '#imports' import { IsPublicInj, ref, storeToRefs, useInjectionState, useMetas, useProject } from '#imports'

1
packages/nc-gui/pages/[projectType]/form/[viewId]/index/index.vue

@ -33,7 +33,6 @@ const onLoaded = async () => {
} }
const showCodeScannerForFieldTitle = (fieldTitle: string) => { const showCodeScannerForFieldTitle = (fieldTitle: string) => {
// findColumnByTitle(fieldTitle)?.enable_scanner
showCodeScannerOverlay.value = true showCodeScannerOverlay.value = true
fieldTitleForCurrentScan.value = fieldTitle fieldTitleForCurrentScan.value = fieldTitle
} }

1
tests/playwright/pages/Dashboard/index.ts

@ -163,7 +163,6 @@ export class DashboardPage extends BasePage {
async signOut() { async signOut() {
await this.rootPage.getByTestId('nc-project-menu').click(); await this.rootPage.getByTestId('nc-project-menu').click();
// await this.projectMenuLink.click();
const projMenu = this.rootPage.locator('.nc-dropdown-project-menu'); const projMenu = this.rootPage.locator('.nc-dropdown-project-menu');
await projMenu.locator('[data-menu-id="account"]:visible').click(); await projMenu.locator('[data-menu-id="account"]:visible').click();
await this.rootPage.locator('div.nc-project-menu-item:has-text("Sign Out"):visible').click(); await this.rootPage.locator('div.nc-project-menu-item:has-text("Sign Out"):visible').click();

Loading…
Cancel
Save