@goplusvn/core 0.1.28 → 0.1.29
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 +4 -0
- package/package.json +1 -1
- package/src/ui/layout/footer.tsx +1 -1
- package/src/ui/layout/user-dropdown.tsx +14 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.29 — Footer: link "Goplus.vn" trỏ về https://goplus.vn
|
|
4
|
+
|
|
5
|
+
Trước trỏ nhầm github.com/Qualiora (template gốc).
|
|
6
|
+
|
|
3
7
|
## 0.1.28 — Auth Bridge: core hết khóa cứng NextAuth (nền cho Better Auth)
|
|
4
8
|
|
|
5
9
|
`@goerp/core/ui` xuất `AuthBridgeProvider` + `useAuthBridge`/`useAuthSession`/
|
package/package.json
CHANGED
package/src/ui/layout/footer.tsx
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
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, MonitorSmartphone,
|
|
6
|
+
} from "lucide-react";
|
|
6
7
|
|
|
7
8
|
import type { DictionaryType } from "../../hooks";
|
|
8
9
|
import type { LocaleType } from "../../types";
|
|
@@ -151,6 +152,18 @@ export function UserDropdown({
|
|
|
151
152
|
<span>{dictionary.navigation.userNav.profile}</span>
|
|
152
153
|
</Link>
|
|
153
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>
|
|
154
167
|
{/* <DropdownMenuItem
|
|
155
168
|
asChild
|
|
156
169
|
className="h-8 px-2 rounded-md cursor-pointer focus:bg-primary/10 focus:text-primary transition-colors duration-200 group text-sm"
|