markellekelly 5 роки тому
батько
коміт
ef309bb8d9
1 змінених файлів з 3 додано та 3 видалено
  1. 3 3
      packages/filebrowser-extension/src/index.ts

+ 3 - 3
packages/filebrowser-extension/src/index.ts

@@ -124,7 +124,7 @@ namespace CommandIDs {
   export const toggleNavigateToCurrentDirectory =
     'filebrowser:toggle-navigate-to-current-directory';
 
-  export const toggleShowLastModified = 'filebrowser:toggle-show-last-modified';
+  export const toggleLastModified = 'filebrowser:toggle-last-modified';
 }
 
 /**
@@ -820,7 +820,7 @@ function addCommands(
     }
   });
 
-  commands.addCommand(CommandIDs.toggleShowLastModified, {
+  commands.addCommand(CommandIDs.toggleLastModified, {
     label: 'Toggle Last Modified Column',
     execute: () => {
       const header = DOMUtils.findElement(document.body, 'jp-id-modified');
@@ -1035,7 +1035,7 @@ function addCommands(
     rank: 13
   });
   app.contextMenu.addItem({
-    command: CommandIDs.toggleShowLastModified,
+    command: CommandIDs.toggleLastModified,
     selector: '.jp-DirListing-header',
     rank: 14
   });