no message
This commit is contained in:
parent
13fd652596
commit
e2c6812b08
1
nativefier.js
vendored
1
nativefier.js
vendored
@ -47,6 +47,7 @@ const questions = [
|
||||
value: {
|
||||
platform: 'windows',
|
||||
arch: 'x64',
|
||||
icon: './resources/assets/statics/public/images/logo-app.ico',
|
||||
}
|
||||
}]
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "DooTask",
|
||||
"version": "0.2.54",
|
||||
"version": "0.2.56",
|
||||
"description": "DooTask is task management system.",
|
||||
"scripts": {
|
||||
"dev": "npm run development",
|
||||
|
BIN
public/images/logo-app.ico
Normal file
BIN
public/images/logo-app.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 95 KiB |
2
public/js/app.js
vendored
2
public/js/app.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -225,7 +225,9 @@ export default {
|
||||
msgAllUnread() {
|
||||
let num = 0;
|
||||
this.dialogs.map(({unread}) => {
|
||||
num += unread;
|
||||
if (unread) {
|
||||
num += unread;
|
||||
}
|
||||
})
|
||||
return num;
|
||||
},
|
||||
|
@ -146,21 +146,23 @@ export default {
|
||||
return function (type) {
|
||||
let num = 0;
|
||||
this.dialogs.map((dialog) => {
|
||||
switch (type) {
|
||||
case 'project':
|
||||
case 'task':
|
||||
if (type == dialog.group_type) {
|
||||
if (dialog.unread) {
|
||||
switch (type) {
|
||||
case 'project':
|
||||
case 'task':
|
||||
if (type == dialog.group_type) {
|
||||
num += dialog.unread;
|
||||
}
|
||||
break;
|
||||
case 'user':
|
||||
if (type == dialog.type) {
|
||||
num += dialog.unread;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
num += dialog.unread;
|
||||
}
|
||||
break;
|
||||
case 'user':
|
||||
if (type == dialog.type) {
|
||||
num += dialog.unread;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
num += dialog.unread;
|
||||
break;
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
return num;
|
||||
|
Loading…
x
Reference in New Issue
Block a user