X-Git-Url: https://git.auder.net/?a=blobdiff_plain;ds=sidebyside;f=client%2Fnext_src%2Fcomponents%2FproblemSummary.js;h=7321c234266926057611706730cc2f02b13623a8;hb=37cdcbf303d3c2e57b388a1abc9f853ba68a55cd;hp=54602e054a13c86d588834944b3d42a4c213a465;hpb=1c9f093dad69e4c7b6d2b42cb5e0bd3bc7224ec9;p=vchess.git diff --git a/client/next_src/components/problemSummary.js b/client/next_src/components/problemSummary.js index 54602e05..7321c234 100644 --- a/client/next_src/components/problemSummary.js +++ b/client/next_src/components/problemSummary.js @@ -32,3 +32,8 @@ Vue.component('my-problem-summary', { }, }, }) + if (this.mode == "analyze") + { + this.mycolor = V.ParseFen(fen).turn; + this.orientation = this.mycolor; + }