Skip to content

Commit b8c622c

Browse files
committed
add load action
1 parent 15b664a commit b8c622c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

frontend/src/pages/org/browser-profiles/profile.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,17 @@ export class BrowserProfilesProfilePage extends BtrixElement {
673673
(workflow) =>
674674
html`<btrix-workflow-list-item .workflow=${workflow}>
675675
<sl-menu slot="menu">
676+
<sl-menu-item
677+
@click=${() =>
678+
void this.openBrowser({ url: workflow.firstSeed })}
679+
>
680+
<sl-icon
681+
slot="prefix"
682+
name="window-fullscreen"
683+
></sl-icon>
684+
${msg("Load Crawl Start URL")}
685+
</sl-menu-item>
686+
<sl-divider></sl-divider>
676687
${when(
677688
this.appState.isCrawler,
678689
() => html`
@@ -683,19 +694,8 @@ export class BrowserProfilesProfilePage extends BtrixElement {
683694
<sl-icon name="gear" slot="prefix"></sl-icon>
684695
${msg("Edit Workflow Settings")}
685696
</btrix-menu-item-link>
686-
<sl-divider></sl-divider>
687697
`,
688698
)}
689-
<btrix-menu-item-link
690-
href="${this.navigate
691-
.orgBasePath}/${OrgTab.Workflows}/${workflow.id}"
692-
>
693-
<sl-icon
694-
name="arrow-return-right"
695-
slot="prefix"
696-
></sl-icon>
697-
${msg("Go to Workflow")}
698-
</btrix-menu-item-link>
699699
</sl-menu>
700700
</btrix-workflow-list-item>`,
701701
)}

0 commit comments

Comments
 (0)