changed to if-else to save on one line

このコミットが含まれているのは:
hakui 2017-02-18 17:38:56 -06:00
コミット af91346328
1個のファイルの変更2行の追加2行の削除

ファイルの表示

@ -25,8 +25,8 @@ const Notifications = {
},
watch: {
unseenCount (count) {
this.$store.dispatch('setPageTitle', `(${count})`)
if (count==0) this.$store.dispatch('setPageTitle', '')
if (count>0) this.$store.dispatch('setPageTitle', `(${count})`)
else this.$store.dispatch('setPageTitle', '')
}
},
methods: {