Commit 175fc75f authored by Shubham Pandey's avatar Shubham Pandey Committed by Martin Wortschack

[UPDATE] Migrating `fa-spinner` from `app/views/shared/notifications`

parent 1ea6cbbb
......@@ -26,7 +26,7 @@ export default class NotificationsForm {
.addClass('is-loading')
.find('.custom-notification-event-loading')
.removeClass('fa-check')
.addClass('fa-spin fa-spinner')
.addClass('spinner align-middle')
.removeClass('is-done');
}
......@@ -41,12 +41,12 @@ export default class NotificationsForm {
if (data.saved) {
$parent
.find('.custom-notification-event-loading')
.toggleClass('fa-spin fa-spinner fa-check is-done');
.toggleClass('spinner fa-check is-done align-middle');
setTimeout(() => {
$parent
.removeClass('is-loading')
.find('.custom-notification-event-loading')
.toggleClass('fa-spin fa-spinner fa-check is-done');
.toggleClass('spinner fa-check is-done align-middle');
}, 2000);
}
})
......
......@@ -30,4 +30,4 @@
%label.form-check-label{ for: field_id }
%strong
= notification_event_name(event)
= icon("spinner spin", class: "custom-notification-event-loading")
.fa.custom-notification-event-loading.spinner
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment