fix: added back notification types to always show

pull/3421/head
Brandon 2 years ago committed by Brandon Cohen
parent 9ef07c3943
commit 2e36c38818

@ -190,7 +190,6 @@ const UserWebPushSettings = () => {
}) => {
return (
<Form className="section">
{webPushEnabled && (
<NotificationTypeSelector
user={user}
currentTypes={values.types}
@ -204,7 +203,6 @@ const UserWebPushSettings = () => {
: undefined
}
/>
)}
<div className="actions">
<div className="flex justify-end">
<span className="ml-3 inline-flex rounded-md shadow-sm">
@ -229,7 +227,6 @@ const UserWebPushSettings = () => {
</span>
</Button>
</span>
{webPushEnabled && (
<span className="ml-3 inline-flex rounded-md shadow-sm">
<Button
buttonType="primary"
@ -244,7 +241,6 @@ const UserWebPushSettings = () => {
</span>
</Button>
</span>
)}
</div>
</div>
</Form>

Loading…
Cancel
Save