fix for setting feature background url properly, bumped version number

b1.2.2
Ro 4 years ago
parent a568976bad
commit b14a668baf

@ -50,7 +50,9 @@ export default class Settings {
} }
if (!_.isEqual(result.settings.global, payload.global)) { if (!_.isEqual(result.settings.global, payload.global)) {
let bg = payload.global.background; let bg = payload.global.background;
payload.global.background = bg.substr(21, bg.length); let chunks = bg.split('/');
let strip = chunks[0] + '/' + chunks[1] + chunks[2];
payload.global.background = bg.substr(strip.length + 1, bg.length);
result.settings.global = payload.global; result.settings.global = payload.global;
needToUpdate = true; needToUpdate = true;
} else { } else {

@ -1,6 +1,6 @@
{ {
"name": "fipamo-beta", "name": "fipamo-beta",
"version": "1.2.0", "version": "1.2.2",
"private": true, "private": true,
"description": "The most chill blog framework ever.", "description": "The most chill blog framework ever.",
"repository": "https://code.playvicio.us/Are0h/Fipamo", "repository": "https://code.playvicio.us/Are0h/Fipamo",
@ -54,4 +54,4 @@
"devDependencies": { "devDependencies": {
"nodemon": "^2.0.4" "nodemon": "^2.0.4"
} }
} }
Loading…
Cancel
Save