From f6a8de32150407469750a153ba07b3aaf0699a3c Mon Sep 17 00:00:00 2001 From: Ralph Slooten Date: Wed, 14 Sep 2022 22:37:47 +1200 Subject: [PATCH] UI: Add favicon unread message counter --- package-lock.json | 11 +++++++++++ package.json | 1 + server/ui-src/App.vue | 33 +++++++++++++++++++++++++++++---- 3 files changed, 41 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index bba2966..3b686c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,6 +13,7 @@ "bootstrap-icons": "^1.9.1", "moment": "^2.29.4", "prismjs": "^1.29.0", + "tinycon": "^0.6.8", "vue": "^3.2.13" }, "devDependencies": { @@ -1124,6 +1125,11 @@ "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==" }, + "node_modules/tinycon": { + "version": "0.6.8", + "resolved": "https://registry.npmjs.org/tinycon/-/tinycon-0.6.8.tgz", + "integrity": "sha512-bF8Lxm4JUXF6Cw0XlZdugJ44GV575OinZ0Pt8vQPr8ooNqd2yyNkoFdCHzmdpHlgoqfSLfcyk4HDP1EyllT+ug==" + }, "node_modules/tmp": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", @@ -1902,6 +1908,11 @@ "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==" }, + "tinycon": { + "version": "0.6.8", + "resolved": "https://registry.npmjs.org/tinycon/-/tinycon-0.6.8.tgz", + "integrity": "sha512-bF8Lxm4JUXF6Cw0XlZdugJ44GV575OinZ0Pt8vQPr8ooNqd2yyNkoFdCHzmdpHlgoqfSLfcyk4HDP1EyllT+ug==" + }, "tmp": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", diff --git a/package.json b/package.json index e05fea0..01c3771 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "bootstrap-icons": "^1.9.1", "moment": "^2.29.4", "prismjs": "^1.29.0", + "tinycon": "^0.6.8", "vue": "^3.2.13" }, "devDependencies": { diff --git a/server/ui-src/App.vue b/server/ui-src/App.vue index e87c580..c6d9269 100644 --- a/server/ui-src/App.vue +++ b/server/ui-src/App.vue @@ -1,7 +1,8 @@