How to use the licia.safeSet function in licia

To help you get started, we’ve selected a few licia examples, based on popular ways it is used in public projects.

github art-community / ART / application-platform / src / main / web / src / administration / tabs / notifications / store / NotificationsTabComponentStore.jsx View on Github external
setApplicationNotificationProperty = (index, name, value) => {
        if (index >= this.selectedApplicationNotifications.length || !this.selectedApplicationNotifications[index]) return;
        let notification = this.selectedApplicationNotifications[index];
        safeSet(notification, name, value);
        this.selectedApplicationNotifications[index] = notification;
        return true
    };