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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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