mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
fix: restoration columns.tsx is not backup storage linked, legacy
This commit is contained in:
@@ -116,18 +116,19 @@ export function restoreColumns(
|
|||||||
</DropdownMenuTrigger>
|
</DropdownMenuTrigger>
|
||||||
<DropdownMenuContent align="end">
|
<DropdownMenuContent align="end">
|
||||||
<DropdownMenuLabel>Actions</DropdownMenuLabel>
|
<DropdownMenuLabel>Actions</DropdownMenuLabel>
|
||||||
<TooltipCustom disabled={isAlreadyRestore} text="Already a restoration waiting">
|
{rowData.backupStorageId && (
|
||||||
<DropdownMenuItem
|
<TooltipCustom disabled={isAlreadyRestore} text="Already a restoration waiting">
|
||||||
disabled={mutationRerunRestore.isPending || isAlreadyRestore}
|
<DropdownMenuItem
|
||||||
onClick={async () => {
|
disabled={mutationRerunRestore.isPending || isAlreadyRestore}
|
||||||
await handleRerunRestore();
|
onClick={async () => {
|
||||||
}}
|
await handleRerunRestore();
|
||||||
>
|
}}
|
||||||
<ReloadIcon/> Rerun
|
>
|
||||||
</DropdownMenuItem>
|
<ReloadIcon/> Rerun
|
||||||
</TooltipCustom>
|
</DropdownMenuItem>
|
||||||
<DropdownMenuSeparator/>
|
</TooltipCustom>
|
||||||
|
)}
|
||||||
|
<DropdownMenuSeparator/>
|
||||||
<DropdownMenuItem
|
<DropdownMenuItem
|
||||||
disabled={status == "waiting"}
|
disabled={status == "waiting"}
|
||||||
className="text-red-600"
|
className="text-red-600"
|
||||||
@@ -141,7 +142,6 @@ export function restoreColumns(
|
|||||||
</DropdownMenu>
|
</DropdownMenu>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
|
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user