X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fnext_src%2Fcomponents%2FproblemSummary.js;h=7321c234266926057611706730cc2f02b13623a8;hb=37cdcbf303d3c2e57b388a1abc9f853ba68a55cd;hp=54602e054a13c86d588834944b3d42a4c213a465;hpb=ccd4a2b74aecdd6e52960a9ed42acea3e40c9271;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; + }