                      [:a {:href "javascript:void(0)"
                           :on-click #(notifications/request-permission
                                        (fn [response]
-                                         (when (= response "granted") (raise! owner [:set-web-notifications {:enabled? true :response response}]))))}
+                                         (when (= response "granted") (raise! owner [:set-web-notifications-permissions {:enabled? true :response response}]))))}
                       "click here to turn permissions on."]]
           nil)
         [:div.section

             {:name "web_notif_pref"
              :type "radio"
              :checked (not web-notifications-enabled?)
              :on-change #(raise! owner [:set-web-notifications {:enabled? false}])
              :disabled disabled?}]
            (when disabled? [:span [:i.material-icons.lock "lock" ] " "])
            [:span.label-contents " Don't show me notifications when a build finishes"]]]]]]

             {:name "web_notif_pref"
              :type "radio"
              :checked web-notifications-enabled?
              :on-change #(raise! owner [:set-web-notifications-permissions {:enabled? true}])
              :disabled disabled?}]
            (when disabled? [:span [:i.material-icons.lock "lock" ] " "])
            [:span.label-contents " Show me notifications when a build finishes"]]]
