Files
threshold-ui/ui/admin/app/components/scope-badge/index.hbs
T
Zhihe Li b55c50cf64 Chore/update linter (#1355)
* chore: 🤖 Update editor config settings

* chore: 🤖 Add back ember-template-lint-plugin-prettier

* style: 💄 Format admin

* style: 💄 Format desktop

* style: 💄 Format rose

* style: 💄 Format core

* style: 💄 Format api
2022-10-06 11:41:12 -04:00

9 lines
200 B
Handlebars

<Rose::Badge
@icon={{if
@scope.isProject
'flight-icons/svg/grid-16'
(if @scope.isOrg 'flight-icons/svg/org-16' 'flight-icons/svg/globe-16')
}}
>
{{@scope.displayName}}
</Rose::Badge>