mirror of
https://github.com/openfaas/faas.git
synced 2025-06-21 00:06:38 +00:00
Allow valid UI label values
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
2
gateway/assets/script/bootstrap.js
vendored
2
gateway/assets/script/bootstrap.js
vendored
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user