Fix: Refactors error prone checks (#1947)

This commit is contained in:
Nithin David Thomas
2021-03-20 17:12:36 +05:30
committed by GitHub
parent e289106c5b
commit 4657e5c713

View File

@@ -162,7 +162,7 @@ export default {
},
shouldShowSpinner() {
return (
this.getMessages.dataFetched === undefined ||
(this.getMessages && this.getMessages.dataFetched === undefined) ||
(!this.listLoadingStatus && this.isLoadingPrevious)
);
},