feat: new operator

This commit is contained in:
DIYgod
2022-12-08 18:58:12 +00:00
parent b72fbb501f
commit b57bcb2e8d
7 changed files with 544 additions and 177 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ export function DashboardLayout({
if (userSite.isSuccess && subdomain) {
if (
!userSite.data?.find((site) => site.username === subdomain) &&
!isOperator.data?.data
!isOperator.data
) {
router.push("/dashboard")
}