Web: Files: fixed table view
This commit is contained in:
parent
652583dead
commit
939d29ef66
@ -90,7 +90,7 @@ class FilesTableHeader extends React.Component {
|
||||
];
|
||||
|
||||
showStorageInfo &&
|
||||
columns.push({
|
||||
columns.splice(columns.length - 1, 0, {
|
||||
key: "Storage",
|
||||
title: isDefaultRoomsQuotaSet
|
||||
? t("Common:StorageAndQuota")
|
||||
|
@ -129,13 +129,14 @@ const RoomsRowDataComponent = (props) => {
|
||||
) : (
|
||||
<div />
|
||||
)}
|
||||
{roomQuotaColumnIsEnable && showStorageInfo ? (
|
||||
<TableCell className={"table-cell_Storage/Quota"}>
|
||||
<SpaceQuota item={item} type="room" />
|
||||
</TableCell>
|
||||
) : (
|
||||
<div />
|
||||
)}
|
||||
{showStorageInfo &&
|
||||
(roomQuotaColumnIsEnable ? (
|
||||
<TableCell className={"table-cell_Storage/Quota"}>
|
||||
<SpaceQuota item={item} type="room" />
|
||||
</TableCell>
|
||||
) : (
|
||||
<div />
|
||||
))}
|
||||
|
||||
{roomColumnQuickButtonsIsEnabled ? (
|
||||
<TableCell
|
||||
|
@ -3,7 +3,10 @@ import { toastr } from "@docspace/shared/components/toast";
|
||||
|
||||
import api from "@docspace/shared/api";
|
||||
import { PortalFeaturesLimitations } from "@docspace/shared/enums";
|
||||
import { setDefaultUserQuota, setDefaultRoomQuota } from "@docspace/shared/api/settings";
|
||||
import {
|
||||
setDefaultUserQuota,
|
||||
setDefaultRoomQuota,
|
||||
} from "@docspace/shared/api/settings";
|
||||
|
||||
const MANAGER = "manager";
|
||||
const TOTAL_SIZE = "total_size";
|
||||
|
Loading…
Reference in New Issue
Block a user