fix: notification types

This commit is contained in:
iamsivin
2024-03-14 15:53:34 +05:30
parent f419dcc662
commit 8b207a9a94
4 changed files with 9 additions and 9 deletions
@@ -65,7 +65,7 @@ export default {
pathSource() {
// To support icons with multiple paths
const path = this.icons[`${this.icon}-${this.type}`];
if (path.constructor === Array) {
if (path?.constructor === Array) {
return path;
}
return [path];