diff --git a/frontend/src/pages/org/workflows-list.ts b/frontend/src/pages/org/workflows-list.ts
index 30873540..5ca81055 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",
+ };
+ }}
+ >
+
@@ -268,41 +305,6 @@ export class WorkflowsList extends LiteElement {
?checked=${this.filterByCurrentUser}
>
-
-
- ${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",
- };
- }}
- >
`;