Fixed constant for terms and conditions created in folder for constant

This commit is contained in:
ogerly 2019-09-04 07:03:56 +02:00
parent 41767cc27e
commit c64ff67a55
7 changed files with 5 additions and 7 deletions

View File

@ -1,7 +1,6 @@
import { Given, When, Then } from "cypress-cucumber-preprocessor/steps";
import helpers from "../../support/helpers";
import slugify from "slug";
// import { VERSION } from '../../../webapp/pages/terms-and-conditions.vue';
/* global cy */

View File

@ -87,7 +87,7 @@ import gql from 'graphql-tag'
import PasswordStrength from '../Password/Strength'
import { SweetalertIcon } from 'vue-sweetalert-icons'
import PasswordForm from '~/components/utils/PasswordFormHelper'
import { VERSION } from '~/pages/terms-and-conditions'
import { VERSION } from '~/constants/terms-and-conditions-version.js'
/* TODO: hier muss die version rein */
export const SignupVerificationMutation = gql`

View File

@ -0,0 +1 @@
export const VERSION = '0.0.2'

View File

@ -75,7 +75,7 @@
<script>
import LocaleSwitch from '~/components/LocaleSwitch/LocaleSwitch'
import { VERSION } from '~/pages/terms-and-conditions'
import { VERSION } from '~/constants/terms-and-conditions-version.js'
export default {
components: {

View File

@ -26,7 +26,7 @@
<script>
import gql from 'graphql-tag'
import { mapGetters, mapMutations } from 'vuex'
import { VERSION } from '~/pages/terms-and-conditions'
import { VERSION } from '~/constants/terms-and-conditions-version.js'
const mutation = gql`
mutation($id: ID!, $termsAndConditionsAgreedVersion: String) {
UpdateUser(id: $id, termsAndConditionsAgreedVersion: $termsAndConditionsAgreedVersion) {

View File

@ -22,8 +22,6 @@
</template>
<script>
export const VERSION = '0.0.2'
export default {
layout: 'default',
head() {

View File

@ -1,5 +1,5 @@
import gql from 'graphql-tag'
import { VERSION } from '~/pages/terms-and-conditions'
import { VERSION } from '~/constants/terms-and-conditions-version.js'
export const state = () => {
return {