mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-05-03 03:52:31 +02:00
#731 - Fix in sorting
This commit is contained in:
@@ -30,7 +30,7 @@ export interface IAppProps {
|
||||
export const App: React.FunctionComponent<IAppProps> = ({
|
||||
showWelcome
|
||||
}: React.PropsWithChildren<IAppProps>) => {
|
||||
const { loading, pages, settings, localeReady } = useMessages();
|
||||
const { pages, settings, localeReady } = useMessages();
|
||||
const view = useRecoilValue(DashboardViewSelector);
|
||||
const mode = useRecoilValue(ModeAtom);
|
||||
const [isDevMode, setIsDevMode] = useState(false);
|
||||
|
||||
@@ -197,6 +197,8 @@ export default function usePages(pages: Page[]) {
|
||||
if (key === ExtensionState.Dashboard.Contents.Sorting && value) {
|
||||
setSorting(value);
|
||||
return;
|
||||
} else {
|
||||
startPageProcessing();
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user