]> cat aescling's git repositories - mastodon.git/commit
Refactor web_push_subscription (#6047)
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Sun, 24 Dec 2017 03:47:35 +0000 (12:47 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 24 Dec 2017 03:47:35 +0000 (04:47 +0100)
commit35fdf561be94200c7e7923ed11cde73b5b681314
treef2c8044721025b574e192a449c56452560a05cc0
parent081956742cbcd6a51e48669fc5e3d21df0f879a7
Refactor web_push_subscription (#6047)

* Remove onSave method in mapped properties for column_settings

* Make web_push_subscription.register an action
app/javascript/mastodon/actions/push_notifications.js [deleted file]
app/javascript/mastodon/actions/push_notifications/index.js [new file with mode: 0644]
app/javascript/mastodon/actions/push_notifications/registerer.js [new file with mode: 0644]
app/javascript/mastodon/actions/push_notifications/setter.js [new file with mode: 0644]
app/javascript/mastodon/features/notifications/components/column_settings.js
app/javascript/mastodon/features/notifications/containers/column_settings_container.js
app/javascript/mastodon/main.js
app/javascript/mastodon/reducers/push_notifications.js
app/javascript/mastodon/web_push_subscription.js [deleted file]