Skip to content

Commit

Permalink
feat: fix the UI and navigation errors on the prompt page (casdoor#2486)
Browse files Browse the repository at this point in the history
  • Loading branch information
Songjf-ttk authored Nov 12, 2023
1 parent 0ac2b69 commit a22e05d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/auth/PromptPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ class PromptPage extends React.Component {

initSteps(user, application) {
const steps = [];
if (!Setting.isPromptAnswered(user, application) && this.state.promptType === "provider") {
if (Setting.hasPromptPage(application)) {
steps.push({
content: this.renderPromptProvider(application),
name: "provider",
Expand Down

0 comments on commit a22e05d

Please sign in to comment.