mirror of
https://github.com/block-core/blockcore-notes.git
synced 2024-09-29 06:20:42 +00:00
Reload labels after adding a new
This commit is contained in:
parent
7fa5c4366d
commit
1e3409b7ec
@ -35,9 +35,15 @@ export class LabelsComponent {
|
||||
|
||||
this.label = '';
|
||||
this.showNewLabel = false;
|
||||
|
||||
await this.load();
|
||||
}
|
||||
|
||||
async ngOnInit() {
|
||||
await this.load();
|
||||
}
|
||||
|
||||
async load() {
|
||||
this.labels = await this.storageService.storage.getLabels();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user