Modularized notification toast and menu components.
This commit is contained in:
5
modules/menus/notifications/utils.js
Normal file
5
modules/menus/notifications/utils.js
Normal file
@@ -0,0 +1,5 @@
|
||||
const notifHasImg = (notif) => {
|
||||
return notif.image !== undefined && notif.image.length;
|
||||
};
|
||||
|
||||
export { notifHasImg };
|
||||
Reference in New Issue
Block a user