|
@@ -199,6 +199,8 @@ BlazeComponent.extendComponent({
|
|
$('input[name=displayAuthenticationMethod]:checked').val() === 'true';
|
|
$('input[name=displayAuthenticationMethod]:checked').val() === 'true';
|
|
const defaultAuthenticationMethod = $('#defaultAuthenticationMethod').val();
|
|
const defaultAuthenticationMethod = $('#defaultAuthenticationMethod').val();
|
|
|
|
|
|
|
|
+ const spinnerName = $('#spinnerName').val();
|
|
|
|
+
|
|
try {
|
|
try {
|
|
Settings.update(Settings.findOne()._id, {
|
|
Settings.update(Settings.findOne()._id, {
|
|
$set: {
|
|
$set: {
|
|
@@ -213,6 +215,7 @@ BlazeComponent.extendComponent({
|
|
displayAuthenticationMethod,
|
|
displayAuthenticationMethod,
|
|
defaultAuthenticationMethod,
|
|
defaultAuthenticationMethod,
|
|
automaticLinkedUrlSchemes,
|
|
automaticLinkedUrlSchemes,
|
|
|
|
+ spinnerName,
|
|
},
|
|
},
|
|
});
|
|
});
|
|
} catch (e) {
|
|
} catch (e) {
|
|
@@ -384,3 +387,12 @@ Template.selectAuthenticationMethod.helpers({
|
|
return Template.instance().data.authenticationMethod === match;
|
|
return Template.instance().data.authenticationMethod === match;
|
|
},
|
|
},
|
|
});
|
|
});
|
|
|
|
+
|
|
|
|
+Template.selectSpinnerName.helpers({
|
|
|
|
+ spinners() {
|
|
|
|
+ return ['Bounce', 'Wave']
|
|
|
|
+ },
|
|
|
|
+ isSelected(match) {
|
|
|
|
+ return Template.instance().data.spinnerName === match;
|
|
|
|
+ },
|
|
|
|
+});
|