diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c987eb..2e5dfc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,37 +1,34 @@ + # Changelog ## [1.1.5](https://github.com/perfect-panel/ppanel-web/compare/v1.1.4...v1.1.5) (2025-07-26) - ### 🐛 Bug Fixes -* **subscribe**: Filter out items that are not marked as visible in subscription list ([32253e3](https://github.com/perfect-panel/ppanel-web/commit/32253e3)) +- **subscribe**: Filter out items that are not marked as visible in subscription list ([32253e3](https://github.com/perfect-panel/ppanel-web/commit/32253e3)) ## [1.1.4](https://github.com/perfect-panel/ppanel-web/compare/v1.1.3...v1.1.4) (2025-07-25) - ### 🐛 Bug Fixes -* **locales**: Simplify "show" label in subscription localization files ([d53a006](https://github.com/perfect-panel/ppanel-web/commit/d53a006)) -* **order**: Preserve last successful order on error during order creation ([2fb98be](https://github.com/perfect-panel/ppanel-web/commit/2fb98be)) -* **subscribe**: Filter out hidden items in subscription list display ([634be37](https://github.com/perfect-panel/ppanel-web/commit/634be37)) +- **locales**: Simplify "show" label in subscription localization files ([d53a006](https://github.com/perfect-panel/ppanel-web/commit/d53a006)) +- **order**: Preserve last successful order on error during order creation ([2fb98be](https://github.com/perfect-panel/ppanel-web/commit/2fb98be)) +- **subscribe**: Filter out hidden items in subscription list display ([634be37](https://github.com/perfect-panel/ppanel-web/commit/634be37)) ## [1.1.3](https://github.com/perfect-panel/ppanel-web/compare/v1.1.2...v1.1.3) (2025-07-24) - ### 🐛 Bug Fixes -* **auth**: Implement user redirection to dashboard upon authentication ([f84f98c](https://github.com/perfect-panel/ppanel-web/commit/f84f98c)) +- **auth**: Implement user redirection to dashboard upon authentication ([f84f98c](https://github.com/perfect-panel/ppanel-web/commit/f84f98c)) ## [1.1.2](https://github.com/perfect-panel/ppanel-web/compare/v1.1.1...v1.1.2) (2025-07-24) - ### 🐛 Bug Fixes -* **billing**: Add display for gift amount in subscription billing ([04af2f9](https://github.com/perfect-panel/ppanel-web/commit/04af2f9)) -* **order**: Update subscription cell to display name and quantity ([96eba17](https://github.com/perfect-panel/ppanel-web/commit/96eba17)) -* **tool**: Added API for obtaining version, updated version information display logic ([2675034](https://github.com/perfect-panel/ppanel-web/commit/2675034)) +- **billing**: Add display for gift amount in subscription billing ([04af2f9](https://github.com/perfect-panel/ppanel-web/commit/04af2f9)) +- **order**: Update subscription cell to display name and quantity ([96eba17](https://github.com/perfect-panel/ppanel-web/commit/96eba17)) +- **tool**: Added API for obtaining version, updated version information display logic ([2675034](https://github.com/perfect-panel/ppanel-web/commit/2675034)) diff --git a/apps/admin/app/dashboard/ads/page.tsx b/apps/admin/app/dashboard/ads/page.tsx index 6f20cde..640e35d 100644 --- a/apps/admin/app/dashboard/ads/page.tsx +++ b/apps/admin/app/dashboard/ads/page.tsx @@ -46,9 +46,6 @@ export default function Page() { ), }} params={[ - { - key: 'search', - }, { key: 'status', placeholder: t('status'), @@ -57,6 +54,9 @@ export default function Page() { { label: t('disabled'), value: '0' }, ], }, + { + key: 'search', + }, ]} request={async (pagination, filters) => { const { data } = await getAdsList({ diff --git a/apps/admin/app/dashboard/announcement/notice-form.tsx b/apps/admin/app/dashboard/announcement/notice-form.tsx index c1f8641..9cc19d5 100644 --- a/apps/admin/app/dashboard/announcement/notice-form.tsx +++ b/apps/admin/app/dashboard/announcement/notice-form.tsx @@ -81,9 +81,13 @@ export default function AnnouncementForm>({ {title} - +
- + { - const { data } = await getAuthMethodConfig({ - method: 'apple', - }); - return data.data; - }, - }); - - async function updateConfig(key: keyof API.UpdateAuthMethodConfigRequest, value: unknown) { - try { - await updateAuthMethodConfig({ - ...data, - [key]: value, - } as API.UpdateAuthMethodConfigRequest); - toast.success(t('saveSuccess')); - refetch(); - } catch (error) { - toast.error(t('saveFailed')); - } - } - - return ( - - - - - -

{t('enableDescription')}

-
- - updateConfig('enabled', checked)} - /> - -
- - - -

{t('teamIdDescription')}

-
- - { - updateConfig('config', { - ...data?.config, - team_id: value, - }); - }} - /> - -
- - - -

{t('keyIdDescription')}

-
- - { - updateConfig('config', { - ...data?.config, - key_id: value, - }); - }} - /> - -
- - - -

{t('clientIdDescription')}

-
- - { - updateConfig('config', { - ...data?.config, - client_id: value, - }); - }} - /> - -
- - - -

{t('clientSecretDescription')}

-
- -