admin: config is not defined on sync page, use settings instead
This commit is contained in:
parent
e84b1d67cb
commit
c34fe51641
2 changed files with 4 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<div class="card mt-3 mb-5" ng-show="!config.wip && timeProgression && !displayDangerousActions">
|
||||
<div class="card mt-3 mb-5" ng-show="!settings.wip && timeProgression && !displayDangerousActions">
|
||||
<div class="card-header bg-secondary text-light">
|
||||
<h3 class="mb-0">
|
||||
Synchronisation
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card my-3" ng-if="config.wip || !timeProgression || displayDangerousActions">
|
||||
<div class="card my-3" ng-if="settings.wip || !timeProgression || displayDangerousActions">
|
||||
<div class="card-header d-flex justify-content-between">
|
||||
<h3 class="mb-0">
|
||||
Import des thèmes
|
||||
|
|
@ -77,7 +77,7 @@
|
|||
<a href="themes/{{ theme.id }}" class="btn btn-link" title="Voir le thème">
|
||||
<span class="glyphicon glyphicon-hand-right" aria-hidden="true"></span>
|
||||
</a>
|
||||
<button class="btn btn-light" title="Resynchroniser uniquement ce thème" ng-click="deepSync(theme)" ng-if="config.wip || !timeProgression || displayDangerousActions">
|
||||
<button class="btn btn-light" title="Resynchroniser uniquement ce thème" ng-click="deepSync(theme)" ng-if="settings.wip || !timeProgression || displayDangerousActions">
|
||||
<span class="glyphicon glyphicon-hdd" aria-hidden="true"></span>
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
Reference in a new issue