Skip to content

Commit

Permalink
revert comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jenny-s51 committed Oct 24, 2024
1 parent c33440e commit ec0ba64
Showing 1 changed file with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,20 +102,20 @@ const ModelVersionListView: React.FC<ModelVersionListViewProps> = ({

return (
<>
{/* {isArchiveModel && ( */}
<Alert
variant="warning"
isInline
title={`All the versions have been archived along with the model on ${
date
? `${date.toLocaleString('en-US', {
month: 'long',
timeZone: 'UTC',
})} ${date.getUTCDate()}, ${date.getUTCFullYear()}`
: '--'
}. They are now read-only and can only be restored together with the model.`}
/>
{/* )} */}
{isArchiveModel && (
<Alert
variant="warning"
isInline
title={`All the versions have been archived along with the model on ${
date
? `${date.toLocaleString('en-US', {
month: 'long',
timeZone: 'UTC',
})} ${date.getUTCDate()}, ${date.getUTCFullYear()}`
: '--'
}. They are now read-only and can only be restored together with the model.`}
/>
)}
<ModelVersionsTable
refresh={refresh}
isArchiveModel={isArchiveModel}
Expand Down

0 comments on commit ec0ba64

Please sign in to comment.