Skip to content

Commit 5b5a5c5

Browse files
committed
fix(company-select): show missing loading state
1 parent 1df8573 commit 5b5a5c5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/web/leavitt/company-select/company-select.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export class LeavittCompanySelect extends TitaniumSingleSelectBase<Partial<Compa
9696
async #getCompanies() {
9797
try {
9898
const get = this.apiService?.getAsync<Partial<Company>>(`${this.apiControllerName}?${this.odataParts.join('&')}`);
99+
this.loadWhile(get);
99100
const result = await get;
100101
return result?.toList() ?? [];
101102
} catch (error) {

0 commit comments

Comments
 (0)