@@ -26,10 +26,16 @@ import { tw } from "@/utils/tailwind";
2626import "./components/general" ;
2727import "./components/billing" ;
2828import "./components/crawling-defaults" ;
29+ import "./components/deduplication" ;
2930
3031const styles = unsafeCSS ( stylesheet ) ;
3132
32- type Tab = "information" | "members" | "billing" | "crawling-defaults" ;
33+ type Tab =
34+ | "information"
35+ | "members"
36+ | "billing"
37+ | "crawling-defaults"
38+ | "deduplication" ;
3339type User = {
3440 email : string ;
3541 role : AccessCode ;
@@ -92,6 +98,7 @@ export class OrgSettings extends BtrixElement {
9298 members : msg ( "Members" ) ,
9399 billing : msg ( "Billing" ) ,
94100 "crawling-defaults" : msg ( "Crawling Defaults" ) ,
101+ deduplication : msg ( "Deduplication" ) ,
95102 } ;
96103 }
97104
@@ -158,6 +165,7 @@ export class OrgSettings extends BtrixElement {
158165 this . renderTab ( "billing" , "settings/billing" ) ,
159166 ) }
160167 ${ this . renderTab ( "crawling-defaults" , "settings/crawling-defaults" ) }
168+ ${ this . renderTab ( "deduplication" , "settings/deduplication" ) }
161169
162170 <btrix-tab-group-panel name="information">
163171 ${ this . renderPanelHeader ( { title : msg ( "General" ) } ) }
@@ -194,7 +202,7 @@ export class OrgSettings extends BtrixElement {
194202 </btrix-tab-group-panel>
195203 <btrix-tab-group-panel name="crawling-defaults">
196204 ${ this . renderPanelHeader ( {
197- title : msg ( "Crawling Defaults" ) ,
205+ title : this . tabLabels [ "crawling-defaults" ] ,
198206 actions : html `
199207 <sl-tooltip
200208 content=${ msg (
@@ -210,6 +218,10 @@ export class OrgSettings extends BtrixElement {
210218 } ) }
211219 <btrix-org-settings-crawling-defaults></btrix-org-settings-crawling-defaults>
212220 </btrix-tab-group-panel>
221+ <btrix-tab-group-panel name="deduplication">
222+ ${ this . renderPanelHeader ( { title : this . tabLabels . deduplication } ) }
223+ <btrix-org-settings-deduplication></btrix-org-settings-deduplication>
224+ </btrix-tab-group-panel>
213225 </btrix-tab-group>` ;
214226 }
215227
@@ -247,6 +259,10 @@ export class OrgSettings extends BtrixElement {
247259 "crawling-defaults" ,
248260 ( ) => html `<sl-icon name="file-code-fill"></sl-icon>` ,
249261 ] ,
262+ [
263+ "deduplication" ,
264+ ( ) => html `<sl-icon name="database-fill-gear"></sl-icon>` ,
265+ ] ,
250266 ] ) }
251267 ${ this . tabLabels [ name ] }
252268 </btrix-tab-group-tab>
0 commit comments