Web: Files: Fixed VDR creation, fixed translations
This commit is contained in:
parent
ec75beee04
commit
df56be32e6
@ -52,5 +52,7 @@ export const getRoomTypeDefaultTagTranslation = (roomType = 1, t) => {
|
||||
return t("Files:CustomRooms");
|
||||
case RoomsType.PublicRoom:
|
||||
return t("Files:PublicRoom");
|
||||
case RoomsType.VirtualDataRoom:
|
||||
return t("Files:VirtualDataRoom");
|
||||
}
|
||||
};
|
||||
|
@ -60,6 +60,9 @@ export const getDefaultRoomName = (room, t) => {
|
||||
|
||||
case RoomsType.PublicRoom:
|
||||
return t("Files:PublicRoom");
|
||||
|
||||
case RoomsType.VirtualDataRoom:
|
||||
return t("Files:VirtualDataRoom");
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -1234,6 +1234,13 @@ const SectionFilterContent = ({
|
||||
group: FilterGroups.roomFilterType,
|
||||
label: t("PublicRoom"),
|
||||
};
|
||||
case RoomsType.VirtualDataRoom:
|
||||
return {
|
||||
id: "filter_type-virtual-data",
|
||||
key: RoomsType.VirtualDataRoom,
|
||||
group: FilterGroups.roomFilterType,
|
||||
label: t("VirtualDataRoom"),
|
||||
};
|
||||
case RoomsType.CustomRoom:
|
||||
default:
|
||||
return {
|
||||
|
@ -139,7 +139,7 @@ export const RoomsType = Object.freeze({
|
||||
// ReviewRoom: 3, //TODO: Restore when certs will be done
|
||||
// ReadOnlyRoom: 4, //TODO: Restore when certs will be done
|
||||
PublicRoom: 6,
|
||||
VirtualDataRoom: 7,
|
||||
VirtualDataRoom: 8,
|
||||
CustomRoom: 5,
|
||||
});
|
||||
|
||||
@ -156,6 +156,7 @@ export const RoomsTypeTranslations = Object.freeze({
|
||||
4: "Files:ViewOnlyRooms",
|
||||
5: "Files:CustomRooms",
|
||||
6: "Files:PublicRoom",
|
||||
8: "Files:VirtualDataRoom",
|
||||
});
|
||||
/**
|
||||
* Enum for room provider type.
|
||||
|
Loading…
Reference in New Issue
Block a user