feat: update Z.ai app configuration with additional styling and increment store version to 97
This commit is contained in:
parent
579d7d1e5d
commit
1bb27ee3f9
@ -399,6 +399,9 @@ export const DEFAULT_MIN_APPS: MinAppType[] = [
|
|||||||
name: `Z.ai`,
|
name: `Z.ai`,
|
||||||
logo: ZaiAppLogo,
|
logo: ZaiAppLogo,
|
||||||
url: `https://chat.z.ai/`,
|
url: `https://chat.z.ai/`,
|
||||||
bodered: true
|
bodered: true,
|
||||||
|
style: {
|
||||||
|
padding: 10
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@ -42,7 +42,7 @@ const persistedReducer = persistReducer(
|
|||||||
{
|
{
|
||||||
key: 'cherry-studio',
|
key: 'cherry-studio',
|
||||||
storage,
|
storage,
|
||||||
version: 96,
|
version: 97,
|
||||||
blacklist: ['runtime', 'messages'],
|
blacklist: ['runtime', 'messages'],
|
||||||
migrate
|
migrate
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1232,13 +1232,7 @@ const migrateConfig = {
|
|||||||
'97': (state: RootState) => {
|
'97': (state: RootState) => {
|
||||||
try {
|
try {
|
||||||
addMiniApp(state, 'zai')
|
addMiniApp(state, 'zai')
|
||||||
return state
|
state.settings.webdavMaxBackups = 0
|
||||||
} catch (error) {
|
|
||||||
return state
|
|
||||||
}
|
|
||||||
},
|
|
||||||
'98': (state: RootState) => {
|
|
||||||
try {
|
|
||||||
if (state.websearch && state.websearch.providers) {
|
if (state.websearch && state.websearch.providers) {
|
||||||
state.websearch.providers.forEach((provider) => {
|
state.websearch.providers.forEach((provider) => {
|
||||||
provider.basicAuthUsername = ''
|
provider.basicAuthUsername = ''
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user