feat: limit inbox for trial users

This commit is contained in:
DIYgod
2024-10-18 23:21:41 +08:00
parent fa2d0f3583
commit d02857b13d
3 changed files with 43 additions and 8 deletions
@@ -181,9 +181,8 @@ const SettingItemButton = (props: {
)}
type="button"
onClick={() => {
if (!disabled) {
setTab(path)
} else {
setTab(path)
if (disabled) {
switch (why) {
case DisableWhy.NotActivation: {
presentActivationModal()