mirror of
https://github.com/wekan/wekan.git
synced 2025-12-24 03:10:12 +01:00
Default Spinner can be configured through environment variables
This commit is contained in:
parent
38069c6d63
commit
ba41533128
4 changed files with 16 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import { ALLOWED_WAIT_SPINNERS } from '/config/const';
|
||||
|
||||
BlazeComponent.extendComponent({
|
||||
onCreated() {
|
||||
this.error = new ReactiveVar('');
|
||||
|
|
@ -390,7 +392,7 @@ Template.selectAuthenticationMethod.helpers({
|
|||
|
||||
Template.selectSpinnerName.helpers({
|
||||
spinners() {
|
||||
return ['Bounce', 'Wave']
|
||||
return ALLOWED_WAIT_SPINNERS;
|
||||
},
|
||||
isSelected(match) {
|
||||
return Template.instance().data.spinnerName === match;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue