# HG changeset patch # User Markus Kottlaender # Date 1557927653 -7200 # Node ID c1beed6894399f764ad397b6de4fa461ed6afcbe # Parent 050e72ce5cf775368413ac921f7a85c75df2d3f2 client: define stretches: inlined method diff -r 050e72ce5cf7 -r c1beed689439 client/src/components/stretches/Stretches.vue --- a/client/src/components/stretches/Stretches.vue Wed May 15 15:31:33 2019 +0200 +++ b/client/src/components/stretches/Stretches.vue Wed May 15 15:40:53 2019 +0200 @@ -31,7 +31,7 @@ {{ stretch.properties.name }} s.name === stretchName); + if (stretch) this.$router.push("/review/" + stretch.id); }, isInStaging(stretchname) { for (let s of this.stretchesInStaging) { @@ -396,11 +397,6 @@ } return false; }, - getStagingLink(stretchname) { - for (let s of this.stretchesInStaging) { - if (s.name == stretchname) return s.id; - } - }, loadStagingData() { return new Promise((resolve, reject) => { HTTP.get("/imports?states=pending", {