mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fixed constant for terms and conditions created in folder for constant
This commit is contained in:
parent
41767cc27e
commit
c64ff67a55
@ -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 */
|
||||
|
||||
|
||||
@ -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`
|
||||
|
||||
1
webapp/constants/terms-and-conditions-version.js
Normal file
1
webapp/constants/terms-and-conditions-version.js
Normal file
@ -0,0 +1 @@
|
||||
export const VERSION = '0.0.2'
|
||||
@ -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: {
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -22,8 +22,6 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export const VERSION = '0.0.2'
|
||||
|
||||
export default {
|
||||
layout: 'default',
|
||||
head() {
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user