mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00

template-lint ignores added to workaround bug. Fix is pending release in https://github.com/ember-template-lint/ember-template-lint/pull/3248
24 lines
480 B
Plaintext
24 lines
480 B
Plaintext
import DModal from "discourse/components/d-modal";
|
|
import { i18n } from "discourse-i18n";
|
|
|
|
const ApiKeyUrls = <template>
|
|
<DModal
|
|
@title={{i18n "admin.api.scopes.allowed_urls"}}
|
|
@closeModal={{@closeModal}}
|
|
>
|
|
<:body>
|
|
<div>
|
|
<ul>
|
|
{{#each @model.urls as |url|}}
|
|
<li>
|
|
<code>{{url}}</code>
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
</:body>
|
|
</DModal>
|
|
</template>;
|
|
|
|
export default ApiKeyUrls;
|