Skip to content

Commit

Permalink
fix: hidden start button for database services
Browse files Browse the repository at this point in the history
  • Loading branch information
omermecitoglu committed Jan 6, 2025
1 parent ebeec69 commit 82cdf3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/services/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const ShowServicePage = async ({
<SubmitButton variant="danger" icon={faCircleStop} text="Stop" />
</form>
)}
{!service.containerId && (readyImages.length > 0) && (
{!service.containerId && (service.kind === "database" || readyImages.length > 0) && (
<form action={start.bind(null, service.id)}>
<SubmitButton variant="success" icon={faCirclePlay} text="Start" />
</form>
Expand Down

0 comments on commit 82cdf3e

Please sign in to comment.