Skip to content

Commit

Permalink
fix(flat-pages): fix wrong pmi checkbox initial value (#2066)
Browse files Browse the repository at this point in the history
  • Loading branch information
syt-honey committed Oct 30, 2023
1 parent fb91bd1 commit 9e8a3e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/flat-pages/src/UserScheduledPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const UserScheduledPage = observer(function UserScheduledPage() {

return (
<EditRoomPage
autoPmiOn={preferencesStore.autoPmiOn}
autoPmiOn={preferencesStore.autoPmiOn && !globalStore.pmiRoomExist}
initialValues={defaultValues}
loading={isLoading}
pmi={globalStore.pmi}
Expand Down

0 comments on commit 9e8a3e6

Please sign in to comment.