Fixhancement: display loading status for tags instead of 'Private' (#11140)

This commit is contained in:
shamoon
2025-10-22 18:01:50 -07:00
committed by GitHub
parent faf3e8dc0d
commit 893c05dfdc
7 changed files with 50 additions and 23 deletions

View File

@@ -7,18 +7,16 @@ import { AbstractPaperlessService } from './abstract-paperless-service'
providedIn: 'root',
})
export class MailRuleService extends AbstractPaperlessService<MailRule> {
loading: boolean
constructor() {
super()
this.resourceName = 'mail_rules'
}
private reload() {
this.loading = true
this._loading = true
this.listAll().subscribe((r) => {
this.mailRules = r.results
this.loading = false
this._loading = false
})
}