Skip to content

Commit

Permalink
Updated editor template
Browse files Browse the repository at this point in the history
  • Loading branch information
StanZGenchev committed Dec 23, 2024
1 parent 2751461 commit f57689b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ editor.controller('EditorController', function ($scope, $window, WorkspaceServic
};

// If the editor has been focused from the outside, clean the status bar label (or set the proper one).
layoutHub.onFocusView((data) => {
if (data.params && data.params.resourcePath === $scope.dataParameters.filePath) statusBarHub.showLabel('');
layoutHub.onFocusEditor((data) => {
if (data.path && data.path === $scope.dataParameters.filePath) statusBarHub.showLabel('');
});

// If the file changes (rename, move, etc) outside the editor, parameters will be changed and should be reloaded.
Expand Down

0 comments on commit f57689b

Please sign in to comment.