diff --git a/ui/dev-dist/sw.js b/ui/dev-dist/sw.js index 0bcdc756..4b15efd4 100644 --- a/ui/dev-dist/sw.js +++ b/ui/dev-dist/sw.js @@ -82,7 +82,7 @@ define(['./workbox-54d0af47'], (function (workbox) { 'use strict'; "revision": "3ca0b8505b4bec776b69afdba2768812" }, { "url": "index.html", - "revision": "0.1jmha53s5bo" + "revision": "0.fduoepfh2f" }], {}); workbox.cleanupOutdatedCaches(); workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), { diff --git a/ui/src/components/layouts/AuthLayout/Simple.tsx b/ui/src/components/layouts/AuthLayout/Simple.tsx index a0118724..e0d9288c 100644 --- a/ui/src/components/layouts/AuthLayout/Simple.tsx +++ b/ui/src/components/layouts/AuthLayout/Simple.tsx @@ -12,6 +12,7 @@ import appConfig from '@/configs/app.config' import dayjs from 'dayjs' import { components } from 'react-select' import { ROUTES_ENUM } from '@/routes/route.constant' +import { hasSubdomain } from '@/utils/subdomain' interface SimpleProps extends CommonProps { content?: ReactNode @@ -92,17 +93,19 @@ const Simple = ({ children, content, ...rest }: SimpleProps) => {
- - - + {!hasSubdomain() && ( + + + + )}