Skip to content

MYFACES-4572 - Return 'Production' as default project stage#534

Merged
tandraschko merged 1 commit intoapache:mainfrom
volosied:MYFACES-4572
Feb 25, 2023
Merged

MYFACES-4572 - Return 'Production' as default project stage#534
tandraschko merged 1 commit intoapache:mainfrom
volosied:MYFACES-4572

Conversation

@volosied
Copy link
Contributor

@volosied volosied commented Feb 24, 2023

https://issues.apache.org/jira/browse/MYFACES-4572

Previous JS code:

   getProjectStage:function () {
   ....
                    }
                    else {
                        //we found the script, but there was no stage parameter -- Production
                        //(we also add an override here for testing purposes, the default, however is Production)
                        projectStage = getConfig(PRJ_STAGE, STG_PROD);
                    }
                }
            }
            /* we could not find anything valid --> return the default value */
            this._projectStage = getConfig(PRJ_STAGE, projectStage || STG_PROD);
            }

@volosied volosied marked this pull request as draft February 24, 2023 18:50
@volosied volosied requested a review from werpu February 24, 2023 18:50
@volosied volosied marked this pull request as ready for review February 24, 2023 18:56
@tandraschko tandraschko merged commit 97c610b into apache:main Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments