diff --git a/client/web/compose/src/views/Admin/Charts/Edit.vue b/client/web/compose/src/views/Admin/Charts/Edit.vue index 52b83c5dcb..489840a56a 100644 --- a/client/web/compose/src/views/Admin/Charts/Edit.vue +++ b/client/web/compose/src/views/Admin/Charts/Edit.vue @@ -25,7 +25,7 @@ > diff --git a/client/web/compose/src/views/Admin/Modules/Edit.vue b/client/web/compose/src/views/Admin/Modules/Edit.vue index 6db7468c16..b4c873104f 100644 --- a/client/web/compose/src/views/Admin/Modules/Edit.vue +++ b/client/web/compose/src/views/Admin/Modules/Edit.vue @@ -88,7 +88,7 @@ diff --git a/lib/js/src/compose/types/chart/base.ts b/lib/js/src/compose/types/chart/base.ts index 34f318095b..13c077c877 100644 --- a/lib/js/src/compose/types/chart/base.ts +++ b/lib/js/src/compose/types/chart/base.ts @@ -40,7 +40,6 @@ export class BaseChart { public canUpdateChart = false public canDeleteChart = false public canGrant = false - public canExportChart = false public config: ChartConfig = {} @@ -107,7 +106,7 @@ export class BaseChart { Apply(this, c, CortezaID, 'chartID', 'namespaceID') Apply(this, c, String, 'name', 'handle') Apply(this, c, ISO8601Date, 'createdAt', 'updatedAt', 'deletedAt') - Apply(this, c, Boolean, 'canUpdateChart', 'canDeleteChart', 'canGrant', 'canExportChart') + Apply(this, c, Boolean, 'canUpdateChart', 'canDeleteChart', 'canGrant') Apply(this, c, Object, 'config') if (typeof c.config === 'object') { diff --git a/lib/js/src/compose/types/module.ts b/lib/js/src/compose/types/module.ts index a47d056106..633a6170b6 100644 --- a/lib/js/src/compose/types/module.ts +++ b/lib/js/src/compose/types/module.ts @@ -187,7 +187,6 @@ export class Module { public canUpdateModule = false; public canDeleteModule = false; - public canExportModule = false; public canCreateRecord = false; public canCreateOwnedRecord = false; public canGrant = false; @@ -251,7 +250,6 @@ export class Module { Apply(this, m, Boolean, 'canUpdateModule', 'canDeleteModule', - 'canExportModule', 'canCreateRecord', 'canCreateOwnedRecord', 'canGrant', diff --git a/lib/js/src/compose/types/namespace.ts b/lib/js/src/compose/types/namespace.ts index 924538fc3c..eb925b116f 100644 --- a/lib/js/src/compose/types/namespace.ts +++ b/lib/js/src/compose/types/namespace.ts @@ -51,8 +51,8 @@ export class Namespace { public canCloneNamespace = false public canExportNamespace = false public canGrant = false - public canExportChart = false - public canExportModule = false + public canExportCharts = false + public canExportModules = false constructor (i?: PartialNamespace) { this.apply(i) @@ -87,10 +87,10 @@ export class Namespace { 'canExportNamespace', 'canGrant', 'canCreateModule', - 'canExportModule', + 'canExportModules', 'canCreatePage', 'canCreateChart', - 'canExportChart', + 'canExportCharts', ) }