diff --git a/packages/client/src/pages/Home/Section/Body/TableView/sub-components/TagsCell.js b/packages/client/src/pages/Home/Section/Body/TableView/sub-components/TagsCell.js index d8cd87c975..fa98ca8eb4 100644 --- a/packages/client/src/pages/Home/Section/Body/TableView/sub-components/TagsCell.js +++ b/packages/client/src/pages/Home/Section/Body/TableView/sub-components/TagsCell.js @@ -5,9 +5,28 @@ import Tags from "@docspace/common/components/Tags"; import Tag from "@docspace/components/tag"; import { RoomsTypeTranslations } from "@docspace/common/constants"; -const TagsCell = ({ t, item, tagCount, onSelectTag, onSelectType }) => { +const TagsCell = ({ t, item, tagCount, onSelectTag, onSelectOption }) => { + const styleTagsCell = { + width: "100%", + overflow: "hidden", + display: item.thirdPartyIcon ? "flex" : "", + }; + return ( -
+
+ {item.providerType && ( + + onSelectOption({ + option: "typeProvider", + value: item.providerType, + }) + } + /> + )} + {item.tags.length > 0 ? ( { onSelectType(item.roomType)} + onClick={() => + onSelectOption({ + option: "defaultTypeRoom", + value: item.roomType, + }) + } /> )}