🔥(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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user