From 9e21d3c2be7acc3578b2b3101783697d30c7caf8 Mon Sep 17 00:00:00 2001 From: Hugo Costa Date: Wed, 6 Jul 2022 09:41:31 -0300 Subject: [PATCH] fix: moving Community Watermark to `ee` folder --- apps/meteor/client/sidebar/footer/SidebarFooterDefault.tsx | 2 +- apps/meteor/client/sidebar/footer/voip/index.tsx | 2 +- .../{ => ee}/client/sidebar/footer/SidebarFooterWatermark.tsx | 0 packages/ui-client/package.json | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename apps/meteor/{ => ee}/client/sidebar/footer/SidebarFooterWatermark.tsx (100%) diff --git a/apps/meteor/client/sidebar/footer/SidebarFooterDefault.tsx b/apps/meteor/client/sidebar/footer/SidebarFooterDefault.tsx index 12f33fd53f21..b25e7592cfc0 100644 --- a/apps/meteor/client/sidebar/footer/SidebarFooterDefault.tsx +++ b/apps/meteor/client/sidebar/footer/SidebarFooterDefault.tsx @@ -4,7 +4,7 @@ import colors from '@rocket.chat/fuselage-tokens/colors.json'; import React, { ReactElement } from 'react'; import { settings } from '../../../app/settings/client'; -import { SidebarFooterWatermark } from './SidebarFooterWatermark'; +import { SidebarFooterWatermark } from '../../../ee/client/sidebar/footer/SidebarFooterWatermark'; const SidebarFooterDefault = (): ReactElement => { const sidebarFooterStyle = css` diff --git a/apps/meteor/client/sidebar/footer/voip/index.tsx b/apps/meteor/client/sidebar/footer/voip/index.tsx index 15323a9797e2..08417a952eb4 100644 --- a/apps/meteor/client/sidebar/footer/voip/index.tsx +++ b/apps/meteor/client/sidebar/footer/voip/index.tsx @@ -2,6 +2,7 @@ import { useEndpoint, useTranslation } from '@rocket.chat/ui-contexts'; import React, { ReactElement, useCallback, useMemo, useState } from 'react'; import { useHasLicenseModule } from '../../../../ee/client/hooks/useHasLicenseModule'; +import { SidebarFooterWatermark } from '../../../../ee/client/sidebar/footer/SidebarFooterWatermark'; import { useCallActions, useCallCreateRoom, @@ -12,7 +13,6 @@ import { useQueueName, } from '../../../contexts/CallContext'; import SidebarFooterDefault from '../SidebarFooterDefault'; -import { SidebarFooterWatermark } from '../SidebarFooterWatermark'; import { VoipFooter as VoipFooterComponent } from './VoipFooter'; export const VoipFooter = (): ReactElement | null => { diff --git a/apps/meteor/client/sidebar/footer/SidebarFooterWatermark.tsx b/apps/meteor/ee/client/sidebar/footer/SidebarFooterWatermark.tsx similarity index 100% rename from apps/meteor/client/sidebar/footer/SidebarFooterWatermark.tsx rename to apps/meteor/ee/client/sidebar/footer/SidebarFooterWatermark.tsx diff --git a/packages/ui-client/package.json b/packages/ui-client/package.json index e9b6b54a1b5e..65428396d7fa 100644 --- a/packages/ui-client/package.json +++ b/packages/ui-client/package.json @@ -30,7 +30,7 @@ "jest": "jest", "build": "rm -rf dist && tsc -p tsconfig.json", "storybook": "start-storybook -p 6006", - "dev": "tsc -p --watch --preserveWatchOutput tsconfig.json" + "dev": "tsc -p tsconfig.json --watch --preserveWatchOutput" }, "main": "./dist/index.js", "typings": "./dist/index.d.ts",