Commit 38571140 authored by Martin Wortschack's avatar Martin Wortschack Committed by Filipa Lacerda

Resolve "Follow-up from "Set project path on localStorage during onboarding""

parent 5e5f39a3
...@@ -7,6 +7,10 @@ export const getProjectPath = () => { ...@@ -7,6 +7,10 @@ export const getProjectPath = () => {
const projectPathInput = activeTab.querySelector('#project_path'); const projectPathInput = activeTab.querySelector('#project_path');
const select = activeTab.querySelector('select.js-select-namespace'); const select = activeTab.querySelector('select.js-select-namespace');
if (!projectPathInput) {
return '';
}
if (select) { if (select) {
const selectedOption = select.options[select.selectedIndex]; const selectedOption = select.options[select.selectedIndex];
const { showPath } = selectedOption.dataset; const { showPath } = selectedOption.dataset;
......
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