chore: make version indicators non-selectable

This commit is contained in:
Aman Harwara
2023-01-16 14:42:57 +05:30
parent d2fba978f8
commit 094eaad943

View File

@@ -80,17 +80,17 @@ const WhatsNew = ({ application }: { application: WebApplication }) => {
<div className="flex items-start">
<Title className="mb-3 flex">{version.version}</Title>
{version.version === appVersion && (
<div className="ml-2 rounded bg-info px-2 py-1 text-[10px] font-bold text-info-contrast">
<div className="ml-2 select-none rounded bg-info px-2 py-1 text-[10px] font-bold text-info-contrast">
Your Version
</div>
)}
{isLatest && (
<div className="ml-2 rounded bg-success px-2 py-1 text-[10px] font-bold text-success-contrast">
<div className="ml-2 select-none rounded bg-success px-2 py-1 text-[10px] font-bold text-success-contrast">
Latest Version
</div>
)}
{isUnreadVersion && (
<div className="ml-2 rounded bg-success px-2 py-1 text-[10px] font-bold text-success-contrast">
<div className="ml-2 select-none rounded bg-success px-2 py-1 text-[10px] font-bold text-success-contrast">
New
</div>
)}