GUI S3 Objects lifecycle enable restore button for not archived not restored versions --fix
@@ -1006,7 +1006,7 @@ export default class DataStorage extends React.Component {
(item.type && item.type.toLowerCase() === 'folder') ||
!item.isVersion ||
item.deleteMarker ||
- (item.isVersion && !item.restored)
+ (item.isVersion && item.archived && !item.restored)
) {
return false;
}
