diff --git a/packages/dashboard/src/pages/actions/index.tsx b/packages/dashboard/src/pages/actions/index.tsx index 8bda4ad..2d74e57 100644 --- a/packages/dashboard/src/pages/actions/index.tsx +++ b/packages/dashboard/src/pages/actions/index.tsx @@ -64,7 +64,7 @@ export default function Index() { {actions ? ( actions.length > 0 ? ( <> -
+
{actions .sort((a, b) => { if (a.name < b.name) { diff --git a/packages/dashboard/src/pages/templates/index.tsx b/packages/dashboard/src/pages/templates/index.tsx index ddc1a9e..9bf5e79 100644 --- a/packages/dashboard/src/pages/templates/index.tsx +++ b/packages/dashboard/src/pages/templates/index.tsx @@ -58,7 +58,7 @@ export default function Index() { {templates ? ( templates.length > 0 ? ( <> -
+
{templates .sort((a, b) => { if (a.actions.length > 0 && b.actions.length === 0) {