#438 Unable to select initial tool via URL parameters

master
agriyadev5 2021-06-07 11:46:56 +05:30
parent baeaf1f4fa
commit f68985148c
1 changed files with 1 additions and 0 deletions

View File

@ -251,6 +251,7 @@ export default class ConfigObj {
if (searchParams.has(`${prop}[color]`)) {
// Restore back to original non-deparamed value to avoid color
// strings being converted to numbers
if(this.urldata[prop] === undefined) { this.urldata[prop] = {}; }
this.urldata[prop].color = searchParams.get(`${prop}[color]`);
}
});