Skip to content

Commit

Permalink
fix: could remove sources from prod when locked (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saelmala authored Sep 27, 2024
1 parent 424e870 commit 2994830
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/sourceCard/SourceCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export default function SourceCard({
)}
{(source || sourceRef) && (
<button
disabled={locked}
className="absolute bottom-0 right-0 text-p hover:border-l hover:border-t bg-red-700 hover:bg-red-600 min-w-fit p-1 rounded-tl-lg z-20"
onClick={() => {
if (source) {
Expand Down

0 comments on commit 2994830

Please sign in to comment.