mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
refactor(ui/editor): migrate code-editor to react [EE-4848] (#8257)
This commit is contained in:
parent
273a3f9a10
commit
5507b1e8c9
18 changed files with 259 additions and 130 deletions
|
@ -148,8 +148,8 @@ function BuildImageController($scope, $async, $window, BuildService, Notificatio
|
|||
return true;
|
||||
};
|
||||
|
||||
$scope.editorUpdate = function (cm) {
|
||||
$scope.formValues.DockerFileContent = cm.getValue();
|
||||
$scope.editorUpdate = function (value) {
|
||||
$scope.formValues.DockerFileContent = value;
|
||||
$scope.state.isEditorDirty = true;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue