Files
threshold-ui/ui/admin/app/controllers/scopes/scope/edit.js
T
55e1e68f30 [COMPLIANCE] Update Copyright and License Headers (#3099)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
Co-authored-by: Dharini <dharini@hashicorp.com>
2026-01-20 11:35:10 -05:00

40 lines
935 B
JavaScript

/**
* Copyright IBM Corp. 2021, 2025
* SPDX-License-Identifier: BUSL-1.1
*/
import Controller, { inject as controller } from '@ember/controller';
export default class ScopesScopeEditController extends Controller {
@controller('scopes/scope/index') scopes;
get scopeTypes() {
return [
{
key: 'isGlobal',
title: 'resources.global.title',
description: 'resources.global.description',
doc: 'global',
},
{
key: 'isOrg',
title: 'resources.org.title',
description: 'resources.org.description',
doc: 'org',
},
{
key: 'isProject',
title: 'resources.project.title',
description: 'resources.project.description',
doc: 'project',
},
{
key: 'isScope',
title: 'resources.scope.title',
description: 'resources.scope.description',
doc: 'scope',
},
];
}
}