File tree Expand file tree Collapse file tree 2 files changed +17
-15
lines changed
routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.queues Expand file tree Collapse file tree 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 {
4646 code : "engine-version" ,
4747 totalQueues : 1 ,
4848 } ;
49- } else {
50- return {
51- success : false as const ,
52- code : "engine-version" ,
53- totalQueues,
54- } ;
5549 }
5650 }
51+
52+ return {
53+ success : false as const ,
54+ code : "engine-version" ,
55+ totalQueues,
56+ } ;
5757 }
5858
5959 return {
Original file line number Diff line number Diff line change @@ -439,14 +439,12 @@ export default function Page() {
439439 </ div >
440440 ) : (
441441 < 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 />
450448 ) : (
451449 < Callout variant = "error" > Something went wrong</ Callout >
452450 ) }
@@ -628,7 +626,11 @@ function EngineVersionUpgradeCallout() {
628626 < div className = "mt-4 flex max-w-lg flex-col gap-4 rounded-sm border border-grid-bright bg-background-bright px-4" >
629627 < div className = "flex items-center justify-between gap-2 border-b border-grid-dimmed py-4" >
630628 < 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+ >
632634 Upgrade guide
633635 </ LinkButton >
634636 </ div >
You can’t perform that action at this time.
0 commit comments