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.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

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
    };