Add pre-flight and fix clone dialog

This commit is contained in:
Johannes Zellner
2019-09-24 18:50:52 +02:00
parent 2ea3ba492e
commit 3ff781139e
3 changed files with 50 additions and 24 deletions

View File

@@ -2,6 +2,7 @@
/* global angular:false */
/* global $:false */
/* global ERROR */
angular.module('Application').controller('AppStoreController', ['$scope', '$location', '$timeout', '$routeParams', 'Client', function ($scope, $location, $timeout, $routeParams, Client) {
Client.onReady(function () { if (!Client.getUserInfo().admin) $location.path('/'); });