From 696b2c38db48100506edff971a8aa24545b67fdd Mon Sep 17 00:00:00 2001 From: andz-bb Date: Fri, 4 Oct 2024 10:54:14 +0100 Subject: [PATCH] persist app sort method selection by saving it against the user --- .../pages/builder/portal/apps/index.svelte | 3 +- packages/builder/src/stores/portal/apps.js | 89 +++++++++++-------- packages/builder/src/stores/portal/index.js | 2 +- packages/types/src/api/web/auth.ts | 1 + packages/types/src/documents/global/user.ts | 1 + .../worker/src/api/routes/validation/users.ts | 1 + 6 files changed, 58 insertions(+), 39 deletions(-) diff --git a/packages/builder/src/pages/builder/portal/apps/index.svelte b/packages/builder/src/pages/builder/portal/apps/index.svelte index 9a073d041f..ddd37dc4a3 100644 --- a/packages/builder/src/pages/builder/portal/apps/index.svelte +++ b/packages/builder/src/pages/builder/portal/apps/index.svelte @@ -26,6 +26,7 @@ licensing, environment, enrichedApps, + sortBy, } from "stores/portal" import { goto } from "@roxi/routify" import AppRow from "components/start/AppRow.svelte" @@ -247,7 +248,7 @@