Skip to content

Commit

Permalink
encore rdoc query paramter URL
Browse files Browse the repository at this point in the history
  • Loading branch information
fariss committed Aug 8, 2024
1 parent 9d137a2 commit 05575e1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions web/explorer/src/views/ImportView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@ onMounted(() => {
// Check if the URL contains a rdoc parameter and load the data from that URL
const urlParams = new URLSearchParams(window.location.search);
const rdocURL = urlParams.get("rdoc");
if (rdocURL) {
const encodedRdocURL = urlParams.get("rdoc");
if (encodedRdocURL) {
const rdocURL = decodeURIComponent(encodedRdocURL);
loadFromURL(rdocURL);
}
});
Expand Down

0 comments on commit 05575e1

Please sign in to comment.