lint frontend

This commit is contained in:
Michael Shamoon
2022-12-15 22:48:16 -08:00
parent 97ab009eb4
commit 20e1779313
23 changed files with 90 additions and 100 deletions

View File

@@ -22,7 +22,7 @@ export abstract class EditDialogComponent<T extends ObjectWithId>
object: T
@Output()
success = new EventEmitter()
succeeded = new EventEmitter()
networkActive = false
@@ -95,7 +95,7 @@ export abstract class EditDialogComponent<T extends ObjectWithId>
serverResponse.subscribe({
next: (result) => {
this.activeModal.close()
this.success.emit(result)
this.succeeded.emit(result)
},
error: (error) => {
this.error = error.error

View File

@@ -6,7 +6,7 @@
</div>
<div class="modal-body">
<p *ngIf="this.dialogMode == 'edit'" i18n>
<p *ngIf="this.dialogMode === 'edit'" i18n>
<em>Note that editing a path does not apply changes to stored files until you have run the 'document_renamer' utility. See the <a target="_blank" href="https://docs.paperless-ngx.com/administration/#renamer">documentation</a>.</em>
</p>