Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix(Admin/Seo): Optimize the display order of the `Permalink` options

haitaoo45cd7821951c
diff --git a/ui/src/pages/Admin/Seo/index.tsx b/ui/src/pages/Admin/Seo/index.tsx
index ffabb59b..6c979dc0 100644
--- a/ui/src/pages/Admin/Seo/index.tsx
+++ b/ui/src/pages/Admin/Seo/index.tsx
@@ -19,14 +19,14 @@ const Index: FC = () => {
type: 'number',
title: t('permalink.label'),
description: t('permalink.text'),
- enum: [1, 2, 3, 4],
+ enum: [4, 3, 2, 1],
enumNames: [
- '/questions/10010000000000001/post-title',
- '/questions/10010000000000001',
- '/questions/D1D1/post-title',
'/questions/D1D1',
+ '/questions/D1D1/post-title',
+ '/questions/10010000000000001',
+ '/questions/10010000000000001/post-title',
],
- default: 1,
+ default: 4,
},
robots: {
type: 'string',