Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

contentSection.vue 810B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <template>
  2. <div class="container">
  3. <div class="row">
  4. <div class="col">
  5. <div class="section-header">
  6. <h2>Terms & Conditions</h2>
  7. </div>
  8. </div>
  9. </div>
  10. <div class="row">
  11. <div class="col">
  12. <div v-html="terms.termsConditions"></div>
  13. </div>
  14. </div>
  15. </div>
  16. </template>
  17. <script>
  18. /* eslint-disable */
  19. import { mapActions, mapGetters, mapState } from "vuex";
  20. export default {
  21. mounted() {
  22. this.populateTerms();
  23. },
  24. methods: {
  25. ...mapActions("termsConditions", ["retrieveTerms"]),
  26. async populateTerms() {
  27. await this.retrieveTerms();
  28. }
  29. },
  30. computed: {
  31. ...mapGetters("termsConditions", ["getTermsAndConditions"]),
  32. ...mapState("termsConditions", ["terms"])
  33. }
  34. };
  35. </script>
  36. <style lang="scss" scoped></style>