mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-07 20:45:17 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -644,9 +644,7 @@ function SidebarLogo() {
|
|||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
refetch();
|
refetch();
|
||||||
toast.success(
|
toast.success("Default organization updated");
|
||||||
"Default organization updated",
|
|
||||||
);
|
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
toast.error(
|
toast.error(
|
||||||
@@ -655,21 +653,25 @@ function SidebarLogo() {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
title={org.isDefault ? "Default organization" : "Set as default"}
|
title={
|
||||||
|
org.isDefault
|
||||||
|
? "Default organization"
|
||||||
|
: "Set as default"
|
||||||
|
}
|
||||||
>
|
>
|
||||||
{org.isDefault ? (
|
{org.isDefault ? (
|
||||||
<Star
|
<Star
|
||||||
fill="#eab308"
|
fill="#eab308"
|
||||||
stroke="#eab308"
|
stroke="#eab308"
|
||||||
className="size-4 text-yellow-500"
|
className="size-4 text-yellow-500"
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<Star
|
<Star
|
||||||
fill="none"
|
fill="none"
|
||||||
stroke="currentColor"
|
stroke="currentColor"
|
||||||
className="size-4 text-gray-400 group-hover:text-blue-500 transition-colors"
|
className="size-4 text-gray-400 group-hover:text-blue-500 transition-colors"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</Button>
|
</Button>
|
||||||
<AddOrganization organizationId={org.id} />
|
<AddOrganization organizationId={org.id} />
|
||||||
<DialogAction
|
<DialogAction
|
||||||
|
|||||||
Reference in New Issue
Block a user