diff options
author | Ed Tanous <ed@tanous.net> | 2024-02-27 22:26:24 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2024-03-05 07:23:10 +0300 |
commit | 8132399c29a07b783d2b24ccd80da7676460dbf3 (patch) | |
tree | d309b7cdaeeb63092d905da2a2df97e492e3bb02 /src/views/Logs | |
parent | a0c29207a44028fd04e881bbd4e3cbc44ced35ac (diff) | |
download | webui-vue-8132399c29a07b783d2b24ccd80da7676460dbf3.tar.xz |
Reformat files with new linter
All changes should be whitespace, and were done using npm run-script
lint.
Change-Id: I943c6b435c5c872841af5affc1e89910468b5ca6
Signed-off-by: Ed Tanous <ed@tanous.net>
Diffstat (limited to 'src/views/Logs')
-rw-r--r-- | src/views/Logs/Dumps/Dumps.vue | 12 | ||||
-rw-r--r-- | src/views/Logs/Dumps/DumpsForm.vue | 4 | ||||
-rw-r--r-- | src/views/Logs/EventLogs/EventLogs.vue | 17 | ||||
-rw-r--r-- | src/views/Logs/PostCodeLogs/PostCodeLogs.vue | 8 |
4 files changed, 22 insertions, 19 deletions
diff --git a/src/views/Logs/Dumps/Dumps.vue b/src/views/Logs/Dumps/Dumps.vue index 81c9de04..77161d4f 100644 --- a/src/views/Logs/Dumps/Dumps.vue +++ b/src/views/Logs/Dumps/Dumps.vue @@ -294,13 +294,13 @@ export default { this.allDumps, this.filterStartDate, this.filterEndDate, - 'dateTime' + 'dateTime', ); }, filteredDumps() { return this.getFilteredTableData( this.filteredDumpsByDate, - this.activeFilters + this.activeFilters, ); }, }, @@ -356,19 +356,19 @@ export default { .msgBoxConfirm( this.$tc( 'pageDumps.modal.deleteDumpConfirmation', - this.selectedRows.length + this.selectedRows.length, ), { title: this.$tc( 'pageDumps.modal.deleteDump', - this.selectedRows.length + this.selectedRows.length, ), okTitle: this.$tc( 'pageDumps.modal.deleteDump', - this.selectedRows.length + this.selectedRows.length, ), cancelTitle: this.$t('global.action.cancel'), - } + }, ) .then((deleteConfrimed) => { if (deleteConfrimed) { diff --git a/src/views/Logs/Dumps/DumpsForm.vue b/src/views/Logs/Dumps/DumpsForm.vue index 07f4a060..0a9b0589 100644 --- a/src/views/Logs/Dumps/DumpsForm.vue +++ b/src/views/Logs/Dumps/DumpsForm.vue @@ -73,7 +73,7 @@ export default { this.infoToast(this.$t('pageDumps.toast.successStartBmcDump'), { title: this.$t('pageDumps.toast.successStartBmcDumpTitle'), timestamp: true, - }) + }), ) .catch(({ message }) => this.errorToast(message)); } @@ -88,7 +88,7 @@ export default { this.infoToast(this.$t('pageDumps.toast.successStartSystemDump'), { title: this.$t('pageDumps.toast.successStartSystemDumpTitle'), timestamp: true, - }) + }), ) .catch(({ message }) => this.errorToast(message)); }, diff --git a/src/views/Logs/EventLogs/EventLogs.vue b/src/views/Logs/EventLogs/EventLogs.vue index ff0473e8..6994849f 100644 --- a/src/views/Logs/EventLogs/EventLogs.vue +++ b/src/views/Logs/EventLogs/EventLogs.vue @@ -453,13 +453,13 @@ export default { return this.getFilteredTableDataByDate( this.allLogs, this.filterStartDate, - this.filterEndDate + this.filterEndDate, ); }, filteredLogs() { return this.getFilteredTableData( this.filteredLogsByDate, - this.activeFilters + this.activeFilters, ); }, }, @@ -548,16 +548,16 @@ export default { .msgBoxConfirm( this.$tc( 'pageEventLogs.modal.deleteMessage', - this.selectedRows.length + this.selectedRows.length, ), { title: this.$tc( 'pageEventLogs.modal.deleteTitle', - this.selectedRows.length + this.selectedRows.length, ), okTitle: this.$t('global.action.delete'), cancelTitle: this.$t('global.action.cancel'), - } + }, ) .then((deleteConfirmed) => { if (deleteConfirmed) { @@ -565,11 +565,14 @@ export default { this.$store .dispatch( 'eventLog/deleteAllEventLogs', - this.selectedRows.length + this.selectedRows.length, ) .then(() => { this.successToast( - this.$tc('pageEventLogs.toast.successDelete', uris.length) + this.$tc( + 'pageEventLogs.toast.successDelete', + uris.length, + ), ); }) .catch(({ message }) => this.errorToast(message)); diff --git a/src/views/Logs/PostCodeLogs/PostCodeLogs.vue b/src/views/Logs/PostCodeLogs/PostCodeLogs.vue index a68047b3..57bbdb59 100644 --- a/src/views/Logs/PostCodeLogs/PostCodeLogs.vue +++ b/src/views/Logs/PostCodeLogs/PostCodeLogs.vue @@ -286,7 +286,7 @@ export default { }, ], }; - } + }, ); }, batchExportData() { @@ -296,13 +296,13 @@ export default { return this.getFilteredTableDataByDate( this.allLogs, this.filterStartDate, - this.filterEndDate + this.filterEndDate, ); }, filteredLogs() { return this.getFilteredTableData( this.filteredLogsByDate, - this.activeFilters + this.activeFilters, ); }, }, @@ -337,7 +337,7 @@ export default { (postCodes) => { const allLogsString = JSON.stringify(postCodes); return allLogsString; - } + }, ); } }, |