🔥(frontend) do not display feature version

A bug was found in the version feature.
A 404 error appears sometimes, probably because
of Minio that does not keep enough versions.
We want to do a realease, so we will remove the
version feature for now.
This commit is contained in:
Anthony LC
2024-09-04 21:19:49 +02:00
committed by Anthony LC
parent 520d511f59
commit 86fdbeacaa
3 changed files with 0 additions and 216 deletions

View File

@@ -81,20 +81,6 @@ export const DocToolBox = ({ doc }: DocToolBoxProps) => {
<Text $theme="primary">{t('Delete document')}</Text>
</Button>
)}
{doc.abilities.versions_list && (
<Button
onClick={() => {
setIsPanelVersionOpen(true);
setIsPanelSummaryOpen(false);
setIsDropOpen(false);
}}
color="primary-text"
icon={<span className="material-icons">history</span>}
size="small"
>
<Text $theme="primary">{t('Version history')}</Text>
</Button>
)}
<Button
onClick={() => {
setIsPanelSummaryOpen(true);