Skip to content

Commit 5b4190d

Browse files
committed
fix list path
1 parent 987679e commit 5b4190d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/pages/org/archived-item-detail/archived-item-detail.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { type Dialog } from "@/components/ui/dialog";
1212
import { ClipboardController } from "@/controllers/clipboard";
1313
import type { CrawlMetadataEditor } from "@/features/archived-items/item-metadata-editor";
1414
import { pageBack, pageNav, type Breadcrumb } from "@/layouts/pageHeader";
15-
import { WorkflowTab } from "@/routes";
15+
import { OrgTab, WorkflowTab } from "@/routes";
1616
import type { APIPaginatedList } from "@/types/api";
1717
import type {
1818
ArchivedItem,
@@ -136,7 +136,7 @@ export class ArchivedItemDetail extends BtrixElement {
136136
private get listUrl(): string {
137137
let path = "items";
138138
if (this.workflowId) {
139-
path = `workflows/crawl/${this.workflowId}/${WorkflowTab.Crawls}`;
139+
path = `${OrgTab.Workflows}/${this.workflowId}/${WorkflowTab.Crawls}`;
140140
} else if (this.collectionId) {
141141
path = `collections/view/${this.collectionId}/items`;
142142
} else if (this.item?.type === "upload") {

0 commit comments

Comments
 (0)