fixed mismatch with 'baseurl' and 'urlbase'
This commit is contained in:
@@ -14,10 +14,10 @@ function ApplicationDetails(props) {
|
|||||||
<input id="name" className="settingsText" type="text" defaultValue={props.name}></input>
|
<input id="name" className="settingsText" type="text" defaultValue={props.name}></input>
|
||||||
<input id="url" className="settingsText" type="text" defaultValue={props.url}></input>
|
<input id="url" className="settingsText" type="text" defaultValue={props.url}></input>
|
||||||
<input id="icon" className="settingsText" type="text" defaultValue={props.icon}></input>
|
<input id="icon" className="settingsText" type="text" defaultValue={props.icon}></input>
|
||||||
<input id="baseurl" className="settingsText" type="text" defaultValue={props.urlbase}></input>
|
<input id="urlbase" className="settingsText" type="text" defaultValue={props.urlbase}></input>
|
||||||
<input id="NSFW" className="settingsCheckbox" type="checkbox" defaultChecked={nsfwChecked}></input>
|
<input id="NSFW" className="settingsCheckbox" type="checkbox" defaultChecked={nsfwChecked}></input>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default ApplicationDetails;
|
export default ApplicationDetails;
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ const ApplicationSettings = () => {
|
|||||||
case "icon":
|
case "icon":
|
||||||
icons.push(item.value)
|
icons.push(item.value)
|
||||||
break;
|
break;
|
||||||
case "baseurl":
|
case "urlbase":
|
||||||
urlbases.push(item.value)
|
urlbases.push(item.value)
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@@ -62,7 +62,7 @@ const ApplicationSettings = () => {
|
|||||||
"name" : names[index],
|
"name" : names[index],
|
||||||
"url" : urls[index],
|
"url" : urls[index],
|
||||||
"icon" : icons[index],
|
"icon" : icons[index],
|
||||||
"baseurl" : urlbases[index],
|
"urlbase" : urlbases[index],
|
||||||
"NSFW" : NSFWs[index]
|
"NSFW" : NSFWs[index]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -108,4 +108,4 @@ const ApplicationSettings = () => {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default ApplicationSettings;
|
export default ApplicationSettings;
|
||||||
|
|||||||
Reference in New Issue
Block a user