Merge branch 'notifications-thru-sw' into shigusegubu-vue3
This commit is contained in:
commit
85bfb31845
1 changed files with 2 additions and 2 deletions
|
@ -95,8 +95,8 @@ export const unseenNotificationsFromStore = store => {
|
||||||
|
|
||||||
export const prepareNotificationObject = (notification, i18n) => {
|
export const prepareNotificationObject = (notification, i18n) => {
|
||||||
if (cachedBadgeUrl === null) {
|
if (cachedBadgeUrl === null) {
|
||||||
const favicon = FaviconService.getOriginalFavicons()[0]
|
const favicons = FaviconService.getOriginalFavicons()
|
||||||
console.log(favicon)
|
const favicon = favicons[favicons.length - 1]
|
||||||
if (!favicon) {
|
if (!favicon) {
|
||||||
cachedBadgeUrl = 'about:blank'
|
cachedBadgeUrl = 'about:blank'
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue