diff --git a/frontend/src/index.ts b/frontend/src/index.ts
index 89f41b6a..b11bc85d 100644
--- a/frontend/src/index.ts
+++ b/frontend/src/index.ts
@@ -342,7 +342,7 @@ export class App extends LiteElement {
: ""}
-
+
${msg("Log Out")}
diff --git a/frontend/src/pages/org/workflows-list.ts b/frontend/src/pages/org/workflows-list.ts
index f7e6882a..ea68e5cf 100644
--- a/frontend/src/pages/org/workflows-list.ts
+++ b/frontend/src/pages/org/workflows-list.ts
@@ -210,8 +210,8 @@ export class WorkflowsList extends LiteElement {
private renderControls() {
return html`
-
-
+
+
+
+
+
+ ${msg("Sort by:")}
+
+
{
+ const field = e.detail.item.value as SortField;
+ this.orderBy = {
+ field: field,
+ direction:
+ sortableFields[field].defaultDirection ||
+ this.orderBy.direction,
+ };
+ }}
+ >
+ ${Object.entries(sortableFields).map(
+ ([value, { label }]) => html`
+ ${label}
+ `
+ )}
+
+
{
+ this.orderBy = {
+ ...this.orderBy,
+ direction: this.orderBy.direction === "asc" ? "desc" : "asc",
+ };
+ }}
+ >
+
@@ -260,49 +297,14 @@ export class WorkflowsList extends LiteElement {
-
`;