Ensure we reset the full state on applinks configure

This commit is contained in:
Johannes Zellner
2022-07-08 18:25:37 +02:00
parent 03d5d01aed
commit 490e570112
+1
View File
@@ -197,6 +197,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$translat
$scope.applinksEdit.label = applink.label;
$scope.applinksEdit.accessRestrictionOption = applink.accessRestriction ? 'groups' : 'any';
$scope.applinksEdit.accessRestriction = { users: [], groups: [] };
$scope.applinksEdit.icon = { data: null };
var userSet, groupSet;
if (applink.accessRestriction) {