Commit 084acd2a authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'fix-swagger-deep-linking' into 'master'

Ensure Swagger UI deep linking is working as expected

See merge request gitlab-org/gitlab!80767
parents 8f430db0 4c47c53a
......@@ -49,9 +49,7 @@ export default {
};
},
result() {
this.switchViewer(
this.hasRichViewer && !window.location.hash ? RICH_BLOB_VIEWER : SIMPLE_BLOB_VIEWER,
);
this.switchViewer(this.hasRichViewer ? RICH_BLOB_VIEWER : SIMPLE_BLOB_VIEWER);
},
error() {
this.displayError();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment