Expand layout

This commit is contained in:
James Cole
2023-08-08 14:11:04 +02:00
parent 9bb62c865a
commit dffddfda18
13 changed files with 340 additions and 355 deletions

View File

@@ -36,13 +36,11 @@ export function setVariable(name, value = null) {
// post to user preferences (because why not):
let putter = new Put();
putter.put(name, value).then((response) => {
// console.log('Put in API');
}).catch(() => {
// preference does not exist (yet).
// POST it
let poster = (new Post);
poster.post(name, value).then((response) => {
// console.log('Post in API');
});
});
}