@goplusvn/core 0.1.29 → 0.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/package.json +1 -1
- package/src/ui/layout/user-dropdown.tsx +1 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.30 — Gỡ menu "Thiết bị & phiên đăng nhập" khỏi UserDropdown
|
|
4
|
+
|
|
5
|
+
Trang phiên đăng nhập chuyển thành trang QUẢN TRỊ (gate quyền) — lối vào đúng
|
|
6
|
+
là sidebar navigation của app (resource-filtered), không phải dropdown cá nhân.
|
|
7
|
+
|
|
3
8
|
## 0.1.29 — Footer: link "Goplus.vn" trỏ về https://goplus.vn
|
|
4
9
|
|
|
5
10
|
Trước trỏ nhầm github.com/Qualiora (template gốc).
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import Link from "next/link";
|
|
4
4
|
import { useAuthBridge, useSafeAuthSession } from "../auth/auth-bridge";
|
|
5
|
-
import { LogOut, User, UserCog,
|
|
5
|
+
import { LogOut, User, UserCog,
|
|
6
6
|
} from "lucide-react";
|
|
7
7
|
|
|
8
8
|
import type { DictionaryType } from "../../hooks";
|
|
@@ -152,18 +152,6 @@ export function UserDropdown({
|
|
|
152
152
|
<span>{dictionary.navigation.userNav.profile}</span>
|
|
153
153
|
</Link>
|
|
154
154
|
</DropdownMenuItem>
|
|
155
|
-
<DropdownMenuItem
|
|
156
|
-
asChild
|
|
157
|
-
className="h-8 px-2 rounded-md cursor-pointer focus:bg-primary/10 focus:text-primary transition-colors duration-200 group text-sm"
|
|
158
|
-
>
|
|
159
|
-
<Link
|
|
160
|
-
href={ensureLocalizedPathname("/security/sessions", locale)}
|
|
161
|
-
className="flex items-center w-full"
|
|
162
|
-
>
|
|
163
|
-
<MonitorSmartphone className="me-2 size-4 text-muted-foreground group-hover:text-primary group-focus:text-primary transition-colors" />
|
|
164
|
-
<span>Thiết bị & phiên đăng nhập</span>
|
|
165
|
-
</Link>
|
|
166
|
-
</DropdownMenuItem>
|
|
167
155
|
{/* <DropdownMenuItem
|
|
168
156
|
asChild
|
|
169
157
|
className="h-8 px-2 rounded-md cursor-pointer focus:bg-primary/10 focus:text-primary transition-colors duration-200 group text-sm"
|