We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 397fdc4 commit 7d533cdCopy full SHA for 7d533cd
frontend/src/pages/org/workflow-detail.ts
@@ -1147,6 +1147,25 @@ export class WorkflowDetail extends BtrixElement {
1147
};
1148
}}
1149
></btrix-archived-item-state-filter>
1150
+ ${when(
1151
+ this.crawlsParams.state?.length,
1152
+ () => html`
1153
+ <sl-button
1154
+ class="[--sl-color-primary-600:var(--sl-color-neutral-500)] part-[label]:font-medium"
1155
+ size="small"
1156
+ variant="text"
1157
+ @click=${() => {
1158
+ this.crawlsParams = {
1159
+ ...this.crawlsParams,
1160
+ state: undefined,
1161
+ };
1162
+ }}
1163
+ >
1164
+ <sl-icon slot="prefix" name="x-lg"></sl-icon>
1165
+ ${msg("Clear")}
1166
+ </sl-button>
1167
+ `,
1168
+ )}
1169
</div>
1170
1171
0 commit comments