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: {
|
value: {
|
||||||
platform: 'windows',
|
platform: 'windows',
|
||||||
arch: 'x64',
|
arch: 'x64',
|
||||||
|
icon: './resources/assets/statics/public/images/logo-app.ico',
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "DooTask",
|
"name": "DooTask",
|
||||||
"version": "0.2.54",
|
"version": "0.2.56",
|
||||||
"description": "DooTask is task management system.",
|
"description": "DooTask is task management system.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "npm run development",
|
"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() {
|
msgAllUnread() {
|
||||||
let num = 0;
|
let num = 0;
|
||||||
this.dialogs.map(({unread}) => {
|
this.dialogs.map(({unread}) => {
|
||||||
num += unread;
|
if (unread) {
|
||||||
|
num += unread;
|
||||||
|
}
|
||||||
})
|
})
|
||||||
return num;
|
return num;
|
||||||
},
|
},
|
||||||
|
@ -146,21 +146,23 @@ export default {
|
|||||||
return function (type) {
|
return function (type) {
|
||||||
let num = 0;
|
let num = 0;
|
||||||
this.dialogs.map((dialog) => {
|
this.dialogs.map((dialog) => {
|
||||||
switch (type) {
|
if (dialog.unread) {
|
||||||
case 'project':
|
switch (type) {
|
||||||
case 'task':
|
case 'project':
|
||||||
if (type == dialog.group_type) {
|
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;
|
num += dialog.unread;
|
||||||
}
|
break;
|
||||||
break;
|
}
|
||||||
case 'user':
|
|
||||||
if (type == dialog.type) {
|
|
||||||
num += dialog.unread;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
num += dialog.unread;
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return num;
|
return num;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user