mirror of
https://github.com/xuquan-nikkkki/FolderFile-Splitter-Plugin.git
synced 2026-07-22 05:37:28 +00:00
fix: fix wrong text
This commit is contained in:
parent
e044fe6818
commit
a689e0ff51
2 changed files with 2 additions and 4 deletions
|
|
@ -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 = [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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>(
|
||||
|
|
|
|||
Loading…
Reference in a new issue