fix: open changelog in new tab (#2645)

This commit is contained in:
sriram veeraghanta 2023-11-03 19:49:02 +05:30 committed by GitHub
parent db2a1b8033
commit ff258c60fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,13 +24,15 @@ export const WorkspaceDashboardHeader = () => {
Dashboard Dashboard
</div> </div>
<div className="flex items-center gap-3 px-3"> <div className="flex items-center gap-3 px-3">
<button <a
onClick={() => setIsProductUpdatesModalOpen(true)} href="https://plane.so/changelog"
target="_blank"
rel="noopener noreferrer"
className="flex items-center gap-1.5 bg-custom-background-80 text-xs font-medium py-1.5 px-3 rounded" className="flex items-center gap-1.5 bg-custom-background-80 text-xs font-medium py-1.5 px-3 rounded"
> >
<Zap size={14} strokeWidth={2} fill="rgb(var(--color-text-100))" /> <Zap size={14} strokeWidth={2} fill="rgb(var(--color-text-100))" />
{"What's New?"} {"What's New?"}
</button> </a>
<a <a
className="flex items-center gap-1.5 bg-custom-background-80 text-xs font-medium py-1.5 px-3 rounded" className="flex items-center gap-1.5 bg-custom-background-80 text-xs font-medium py-1.5 px-3 rounded"
href="https://github.com/makeplane/plane" href="https://github.com/makeplane/plane"