Fix: Refactors error prone checks (#1947)
This commit is contained in:
committed by
GitHub
parent
e289106c5b
commit
4657e5c713
@@ -162,7 +162,7 @@ export default {
|
|||||||
},
|
},
|
||||||
shouldShowSpinner() {
|
shouldShowSpinner() {
|
||||||
return (
|
return (
|
||||||
this.getMessages.dataFetched === undefined ||
|
(this.getMessages && this.getMessages.dataFetched === undefined) ||
|
||||||
(!this.listLoadingStatus && this.isLoadingPrevious)
|
(!this.listLoadingStatus && this.isLoadingPrevious)
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user