1
0
Эх сурвалжийг харах

fix(MainHeader): changeNightmode not a function

Owen Diffey 3 жил өмнө
parent
commit
f04d00cc4a

+ 2 - 1
frontend/src/components/layout/MainHeader.vue

@@ -168,7 +168,8 @@ export default {
 			this.windowWidth = window.innerWidth;
 		},
 		...mapActions("modalVisibility", ["openModal"]),
-		...mapActions("user/auth", ["logout"])
+		...mapActions("user/auth", ["logout"]),
+		...mapActions("user/preferences", ["changeNightmode"])
 	}
 };
 </script>