mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-23 02:35:49 +08:00
feat: fix the UI and navigation errors on the prompt page (#2486)
This commit is contained in:
parent
0ac2b69f5a
commit
a22e05dcc1
@ -262,7 +262,7 @@ class PromptPage extends React.Component {
|
|||||||
|
|
||||||
initSteps(user, application) {
|
initSteps(user, application) {
|
||||||
const steps = [];
|
const steps = [];
|
||||||
if (!Setting.isPromptAnswered(user, application) && this.state.promptType === "provider") {
|
if (Setting.hasPromptPage(application)) {
|
||||||
steps.push({
|
steps.push({
|
||||||
content: this.renderPromptProvider(application),
|
content: this.renderPromptProvider(application),
|
||||||
name: "provider",
|
name: "provider",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user