feat: fix the UI and navigation errors on the prompt page (#2486)

This commit is contained in:
songjf 2023-11-12 15:54:38 +08:00 committed by GitHub
parent 0ac2b69f5a
commit a22e05dcc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",