discourse-ai/assets/javascripts/discourse/connectors/search-menu-before-advanced.../ai-quick-search-loader.gjs

16 lines
409 B
Plaintext

import Component from "@glimmer/component";
import { inject as service } from "@ember/service";
import loadingSpinner from "discourse/helpers/loading-spinner";
export default class AiQuickSearchLoader extends Component {
@service quickSearch;
<template>
{{#if this.quickSearch.loading}}
<div class="ai-quick-search-spinner">
{{loadingSpinner}}
</div>
{{/if}}
</template>
}