mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-12-01 21:05:42 +09:00
feat: open publish diagnostics from menu
This commit is contained in:
1 parent
b3570427d2
commit
604f7786ef
1 file changed
+9
@@ -1868,6 +1868,15 @@ const Content = (props: {
|
||||
>
|
||||
Export
|
||||
</DropdownMenuItem>
|
||||
{props.publishLogs.items.some(
|
||||
({ target }) => target === "site"
|
||||
) && (
|
||||
<DropdownMenuItem
|
||||
onSelect={() => props.onOpenReport(undefined, "publish")}
|
||||
>
|
||||
Diagnostics
|
||||
</DropdownMenuItem>
|
||||
)}
|
||||
<DropdownMenuSeparator />
|
||||
<DropdownMenuItem
|
||||
icon={<GearIcon />}
|
||||
|
||||
Reference in new issue
Block a user