Fix colors

This commit is contained in:
Matthias 2023-10-18 07:12:02 +02:00
parent 6822688703
commit 14f733cad4

View File

@ -17,7 +17,7 @@ export const useColorStore = defineStore('colorStore', {
actions: {
updateProfitLossColor() {
const [colorUp, colorDown] =
this.colorPreference === 'greenUp' ? ['#26A69A', '#ef5350'] : ['#ef5350', '#12bb7b'];
this.colorPreference === 'greenUp' ? ['#26A69A', '#ef5350'] : ['#ef5350', '#26A69A'];
this.colorUp = colorUp;
this.colorDown = colorDown;
},