File tree 2 files changed +17
-15
lines changed
routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.queues
2 files changed +17
-15
lines changed Original file line number Diff line number Diff line change @@ -46,14 +46,14 @@ export class QueueListPresenter extends BasePresenter {
46
46
code : "engine-version" ,
47
47
totalQueues : 1 ,
48
48
} ;
49
- } else {
50
- return {
51
- success : false as const ,
52
- code : "engine-version" ,
53
- totalQueues,
54
- } ;
55
49
}
56
50
}
51
+
52
+ return {
53
+ success : false as const ,
54
+ code : "engine-version" ,
55
+ totalQueues,
56
+ } ;
57
57
}
58
58
59
59
return {
Original file line number Diff line number Diff line change @@ -439,14 +439,12 @@ export default function Page() {
439
439
</ div >
440
440
) : (
441
441
< div className = "grid place-items-center py-6 text-text-dimmed" >
442
- { code === "engine-version" ? (
443
- totalQueues === 0 ? (
444
- < div className = "pt-12" >
445
- < QueuesHasNoTasks />
446
- </ div >
447
- ) : (
448
- < EngineVersionUpgradeCallout />
449
- )
442
+ { totalQueues === 0 ? (
443
+ < div className = "pt-12" >
444
+ < QueuesHasNoTasks />
445
+ </ div >
446
+ ) : code === "engine-version" ? (
447
+ < EngineVersionUpgradeCallout />
450
448
) : (
451
449
< Callout variant = "error" > Something went wrong</ Callout >
452
450
) }
@@ -628,7 +626,11 @@ function EngineVersionUpgradeCallout() {
628
626
< div className = "mt-4 flex max-w-lg flex-col gap-4 rounded-sm border border-grid-bright bg-background-bright px-4" >
629
627
< div className = "flex items-center justify-between gap-2 border-b border-grid-dimmed py-4" >
630
628
< h4 className = "text-base text-text-bright" > New queues table</ h4 >
631
- < LinkButton LeadingIcon = { BookOpenIcon } to = { docsPath ( "v4-upgrade" ) } variant = { "docs/small" } >
629
+ < LinkButton
630
+ LeadingIcon = { BookOpenIcon }
631
+ to = { docsPath ( "upgrade-to-v4" ) }
632
+ variant = { "docs/small" }
633
+ >
632
634
Upgrade guide
633
635
</ LinkButton >
634
636
</ div >
You can’t perform that action at this time.
0 commit comments