{{ t(type) }} column settings table
diff --git a/src/app/modules/organizations/column-settings/column-settings.component.ts b/src/app/modules/organizations/column-settings/column-settings.component.ts
index e108015..2f4bc05 100644
--- a/src/app/modules/organizations/column-settings/column-settings.component.ts
+++ b/src/app/modules/organizations/column-settings/column-settings.component.ts
@@ -1,8 +1,7 @@
-import { NgClass } from '@angular/common'
import type { OnInit } from '@angular/core'
import { Component, inject, ViewEncapsulation } from '@angular/core'
import { ActivatedRoute, Router } from '@angular/router'
-import { PageComponent } from '@seed/components'
+import { InventoryTabComponent, PageComponent } from '@seed/components'
import { SharedImports } from '@seed/directives'
import type { InventoryType } from '../../inventory/inventory.types'
@@ -10,7 +9,7 @@ import type { InventoryType } from '../../inventory/inventory.types'
selector: 'seed-organizations-column-settings',
templateUrl: './column-settings.component.html',
encapsulation: ViewEncapsulation.None,
- imports: [NgClass, PageComponent, SharedImports],
+ imports: [InventoryTabComponent, PageComponent, SharedImports],
})
export class ColumnSettingsComponent implements OnInit {
private _route = inject(ActivatedRoute)
diff --git a/src/app/modules/organizations/cycles/cycles.component.html b/src/app/modules/organizations/cycles/cycles.component.html
index 4288fc9..2b60084 100644
--- a/src/app/modules/organizations/cycles/cycles.component.html
+++ b/src/app/modules/organizations/cycles/cycles.component.html
@@ -1,6 +1,6 @@
-
+
-
+
diff --git a/src/app/modules/organizations/data-quality/data-quality.component.html b/src/app/modules/organizations/data-quality/data-quality.component.html
index c814c7c..befb6a4 100644
--- a/src/app/modules/organizations/data-quality/data-quality.component.html
+++ b/src/app/modules/organizations/data-quality/data-quality.component.html
@@ -1,18 +1,5 @@
-
- @for (tab of tabs; track tab) {
-
- }
-
+
{{ t(type) }} table
diff --git a/src/app/modules/organizations/data-quality/data-quality.component.ts b/src/app/modules/organizations/data-quality/data-quality.component.ts
index 1c6b9cf..b309d1e 100644
--- a/src/app/modules/organizations/data-quality/data-quality.component.ts
+++ b/src/app/modules/organizations/data-quality/data-quality.component.ts
@@ -1,23 +1,22 @@
-import { NgClass } from '@angular/common'
import type { OnInit } from '@angular/core'
import { Component, inject, ViewEncapsulation } from '@angular/core'
import { ActivatedRoute, Router } from '@angular/router'
-import { PageComponent } from '@seed/components'
+import { InventoryTabComponent, PageComponent } from '@seed/components'
import { SharedImports } from '@seed/directives'
-import type { OrganizationTab } from '../organizations.types'
+import type { InventoryType } from 'app/modules/inventory/inventory.types'
@Component({
selector: 'seed-organizations-data-quality',
templateUrl: './data-quality.component.html',
encapsulation: ViewEncapsulation.None,
- imports: [NgClass, PageComponent, SharedImports],
+ imports: [InventoryTabComponent, PageComponent, SharedImports],
})
export class DataQualityComponent implements OnInit {
private _route = inject(ActivatedRoute)
private _router = inject(Router)
- readonly tabs: OrganizationTab[] = ['properties', 'taxlots', 'goal']
- type = this._route.snapshot.paramMap.get('type') as OrganizationTab
+ readonly tabs: InventoryType[] = ['properties', 'taxlots', 'goal']
+ type = this._route.snapshot.paramMap.get('type') as InventoryType
readonly table_type = 'Data Quality'
readonly urlSegment = 'data-quality'
@@ -25,7 +24,7 @@ export class DataQualityComponent implements OnInit {
console.log('organizations data quality')
}
- async toggleInventoryType(type: OrganizationTab) {
+ async toggleInventoryType(type: InventoryType) {
if (type !== this.type) {
const newRoute = `/organizations/data-quality/${type}`
await this._router.navigateByUrl(newRoute, { skipLocationChange: false })
diff --git a/src/app/modules/organizations/derived-columns/derived-columns.component.html b/src/app/modules/organizations/derived-columns/derived-columns.component.html
index 6d7c917..e3e642d 100644
--- a/src/app/modules/organizations/derived-columns/derived-columns.component.html
+++ b/src/app/modules/organizations/derived-columns/derived-columns.component.html
@@ -1,18 +1,5 @@
-
- @for (tab of tabs; track tab) {
-
- }
-
+
{{ t(type) }} derived columns table
diff --git a/src/app/modules/organizations/derived-columns/derived-columns.component.ts b/src/app/modules/organizations/derived-columns/derived-columns.component.ts
index efc32db..b75581d 100644
--- a/src/app/modules/organizations/derived-columns/derived-columns.component.ts
+++ b/src/app/modules/organizations/derived-columns/derived-columns.component.ts
@@ -1,8 +1,7 @@
-import { NgClass } from '@angular/common'
import type { OnInit } from '@angular/core'
import { Component, inject, ViewEncapsulation } from '@angular/core'
import { ActivatedRoute, Router } from '@angular/router'
-import { PageComponent } from '@seed/components'
+import { InventoryTabComponent, PageComponent } from '@seed/components'
import { SharedImports } from '@seed/directives'
import type { InventoryType } from '../../inventory/inventory.types'
@@ -10,7 +9,7 @@ import type { InventoryType } from '../../inventory/inventory.types'
selector: 'seed-organizations-derived-columns',
templateUrl: './derived-columns.component.html',
encapsulation: ViewEncapsulation.None,
- imports: [NgClass, PageComponent, SharedImports],
+ imports: [InventoryTabComponent, PageComponent, SharedImports],
})
export class DerivedColumnsComponent implements OnInit {
private _route = inject(ActivatedRoute)
diff --git a/src/app/modules/organizations/members/members.component.html b/src/app/modules/organizations/members/members.component.html
index 682b132..ec0c03b 100644
--- a/src/app/modules/organizations/members/members.component.html
+++ b/src/app/modules/organizations/members/members.component.html
@@ -1,6 +1,6 @@
-
+
Member Name |
@@ -46,5 +46,5 @@
-
+
diff --git a/src/app/modules/organizations/organizations.types.ts b/src/app/modules/organizations/organizations.types.ts
index be2f615..03787b2 100644
--- a/src/app/modules/organizations/organizations.types.ts
+++ b/src/app/modules/organizations/organizations.types.ts
@@ -12,5 +12,3 @@ export type Organization = {
export type OrganizationsList = Organization[]
export type OrganizationGenericTypeMatcher = { segments: UrlSegment[]; validTypes: string[]; validPage: string }
-
-export type OrganizationTab = 'goal' | 'properties' | 'taxlots'