Prechádzať zdrojové kódy

Update Activity.vue

Daniel Supernault 6 rokov pred
rodič
commit
176ffd6917

+ 1 - 1
resources/assets/js/components/Activity.vue

@@ -139,7 +139,7 @@ export default {
 					page: this.notificationCursor
 				}
 			}).then(res => {
-				if(res.data.length > 0) {
+				if(res.data.length) {
 					let data = res.data.filter(n => {
 						if(n.type == 'share' && !status) {
 							return false;