mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-19 13:54:25 +01:00
do not show version modal if system if up-to-date
This commit is contained in:
parent
774060d9ab
commit
a67b2ff29c
@ -268,6 +268,8 @@ Application.Controllers.controller('ApplicationController', ['$rootScope', '$sco
|
||||
};
|
||||
|
||||
$scope.versionModal = function() {
|
||||
if ($scope.version.up_to_date) return;
|
||||
|
||||
$uibModal.open({
|
||||
templateUrl: '<%= asset_path "admin/versions/upgradeModal.html" %>',
|
||||
controller: 'VersionModalController',
|
||||
|
Loading…
x
Reference in New Issue
Block a user