Skip to content

Commit

Permalink
fix: use Env Store
Browse files Browse the repository at this point in the history
  • Loading branch information
zijiren233 committed Nov 29, 2024
1 parent 67096bc commit eff4a09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/providers/cronjob/src/store/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ const useEnvStore = create<EnvState>()(
immer((set, get) => ({
SystemEnv: {
domain: '',
applaunchpadUrl: ''
applaunchpadUrl: '',
successfulJobsHistoryLimit: 3,
failedJobsHistoryLimit: 3
},
initSystemEnv: async () => {
const data = await getPlatformEnv();
Expand Down

0 comments on commit eff4a09

Please sign in to comment.