fix: fix wrong text

This commit is contained in:
Xu Quan 2025-03-05 15:53:33 +08:00
parent e044fe6818
commit a689e0ff51
2 changed files with 2 additions and 4 deletions

View file

@ -11,8 +11,8 @@ type FileSortRuleItem = {
};
type FileSortRuleGroup = FileSortRuleItem[];
const FileSortByNameRules: FileSortRuleGroup = [
{ text: "Folder name(A to Z)", rule: "FileNameAscending" },
{ text: "Folder name(Z to A)", rule: "FileNameDescending" },
{ text: "File name(A to Z)", rule: "FileNameAscending" },
{ text: "File name(Z to A)", rule: "FileNameDescending" },
];
const FileSortByModifiedTimeRules: FileSortRuleGroup = [
{

View file

@ -267,8 +267,6 @@ export const createFileTreeStore = (plugin: FolderFileSplitterPlugin) =>
await get().saveData({
[FFS_EXPANDED_FOLDER_PATHS_KEY]: JSON.stringify(folderPaths),
});
const data = await plugin.loadData();
console.log(data);
},
restoreExpandedFolderPaths: async () => {
const lastExpandedFolderPaths = await get().getData<string>(