mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 16:56:47 +00:00
Remove extra customize button
The customize button was redundant to the custom tab This could lead to confusion with the user experience, so the additional button has been removed. Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
This commit is contained in:
parent
fd39f99125
commit
a6c9e3bb30
4
gateway/assets/script/bootstrap.js
vendored
4
gateway/assets/script/bootstrap.js
vendored
@ -283,10 +283,6 @@ app.controller("home", ['$scope', '$log', '$http', '$location', '$interval', '$f
|
|||||||
$scope.selectedFunc = func;
|
$scope.selectedFunc = func;
|
||||||
}
|
}
|
||||||
|
|
||||||
$scope.customizeStoreFunc = function() {
|
|
||||||
$scope.selectedTabIdx = CUSTOM_DEPLOY_TAB_INDEX;
|
|
||||||
}
|
|
||||||
|
|
||||||
$scope.onTabSelect = function(idx) {
|
$scope.onTabSelect = function(idx) {
|
||||||
newFuncTabIdx = idx;
|
newFuncTabIdx = idx;
|
||||||
}
|
}
|
||||||
|
@ -162,9 +162,6 @@
|
|||||||
<md-button ng-click="closeDialog()" class="md-secondary">
|
<md-button ng-click="closeDialog()" class="md-secondary">
|
||||||
Close Dialog
|
Close Dialog
|
||||||
</md-button>
|
</md-button>
|
||||||
<md-button ng-if="selectedFunc" ng-click="customizeStoreFunc()" class="md-warn">
|
|
||||||
Customize
|
|
||||||
</md-button>
|
|
||||||
<md-button ng-disabled="userForm.$invalid" ng-click="createFunc()" class="md-primary">
|
<md-button ng-disabled="userForm.$invalid" ng-click="createFunc()" class="md-primary">
|
||||||
Deploy
|
Deploy
|
||||||
</md-button>
|
</md-button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user