From c1b5a10bfdd17497ee816667cc0189adeb297f2b Mon Sep 17 00:00:00 2001 From: Baptiste Adrien Date: Fri, 21 Dec 2018 19:40:27 +0100 Subject: [PATCH] Fix color --- src/models/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/app.js b/src/models/app.js index 3b78bd8..de4c009 100644 --- a/src/models/app.js +++ b/src/models/app.js @@ -25,7 +25,7 @@ export default { }, updateColor(state, color) { - return { ...state, color }; + return { ...state, color: color.hex }; }, setLoading(state) {