Skip to content
Snippets Groups Projects
Commit 3502c67d authored by Alex Ellis's avatar Alex Ellis
Browse files

Allow valid UI label values


Signed-off-by: default avatarAlex Ellis <alexellis2@gmail.com>
parent efebf2e2
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,7 @@ app.controller("home", ['$scope', '$log', '$http', '$location', '$timeout', '$md ...@@ -101,7 +101,7 @@ app.controller("home", ['$scope', '$log', '$http', '$location', '$timeout', '$md
if($scope.selectedFunction.labels) { if($scope.selectedFunction.labels) {
var ext = $scope.selectedFunction.labels["com.openfaas.ui.ext"]; var ext = $scope.selectedFunction.labels["com.openfaas.ui.ext"];
if(ext && ext.length > 0 ) { if(ext && ext.length > 0 ) {
filename = filename + "" + ext; filename = filename + "." + ext;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment