Fix: Adds favicon badge for notification alert. (#2079)

* Adds favicon badge for notification alert.
This commit is contained in:
Sivin Varghese 2021-04-13 19:25:19 +05:30 committed by GitHub
parent 4387736f1a
commit a14e8ba250
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 28 additions and 3 deletions

View file

@ -21,6 +21,7 @@ import i18n from '../dashboard/i18n';
import createAxios from '../dashboard/helper/APIHelper';
import commonHelpers from '../dashboard/helper/commons';
import { getAlertAudio } from '../shared/helpers/AudioNotificationHelper';
import { initFaviconSwitcher } from '../shared/helpers/faviconHelper';
import router from '../dashboard/routes';
import store from '../dashboard/store';
import vueActionCable from '../dashboard/helper/actionCable';
@ -80,4 +81,5 @@ window.addEventListener('load', () => {
})
);
getAlertAudio();
initFaviconSwitcher();
});