{__('There was an error displaying this page.')}
>
}
/>
) : (
{/* @if TARGET='app' */}
setClientSetting(SETTINGS.OS_NOTIFICATIONS_ENABLED, !osNotificationsEnabled)}
checked={osNotificationsEnabled}
label={__('Show Desktop Notifications')}
helper={__('Get notified when a publish or channel is confirmed.')}
/>
}
/>
{/* @endif */}
{enabledEmails && enabledEmails.length > 0 && (
{enabledEmails.map(({ email, isEnabled }) => (
handleChangeEmail(email, !isEnabled)}
checked={isEnabled}
label={email}
/>
))}
>
}
/>
)}
{tags && tags.length > 0 && (
{tags.map(tag => {
const isEnabled = tagMap[tag.name];
return (
handleChangeTag(tag.name, !isEnabled)}
checked={isEnabled}
label={tag.description}
/>
);
})}
>
}
/>
)}
)}