Merge branch 'develop'
This commit is contained in:
@@ -62,7 +62,7 @@
|
|||||||
/>
|
/>
|
||||||
<accommodation-select :participant="participant"
|
<accommodation-select :participant="participant"
|
||||||
:contingents="availableContingents"
|
:contingents="availableContingents"
|
||||||
:mutable="mutableFields.accommodation.mutable"
|
:mutable="mutableFields.accommodation.mutable && isGroupManager"
|
||||||
v-on:selected="onAccommodationSelected($event, index)"
|
v-on:selected="onAccommodationSelected($event, index)"
|
||||||
/>
|
/>
|
||||||
<service-select v-for="subType in servicesSubTypes"
|
<service-select v-for="subType in servicesSubTypes"
|
||||||
@@ -144,7 +144,7 @@
|
|||||||
import TransportationSelect from './components/TransportationSelect';
|
import TransportationSelect from './components/TransportationSelect';
|
||||||
|
|
||||||
import authenticatedClient from '../api';
|
import authenticatedClient from '../api';
|
||||||
import {mapMutations, mapState} from 'vuex';
|
import {mapGetters, mapMutations, mapState} from 'vuex';
|
||||||
|
|
||||||
Vue.use(VueScrollTo)
|
Vue.use(VueScrollTo)
|
||||||
|
|
||||||
@@ -419,6 +419,7 @@
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['loading']),
|
...mapState(['loading']),
|
||||||
|
...mapGetters(['isGroupManager']),
|
||||||
availableContingents () {
|
availableContingents () {
|
||||||
let filteredContingents = {};
|
let filteredContingents = {};
|
||||||
for (let id of Object.keys(this.contingents)) {
|
for (let id of Object.keys(this.contingents)) {
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
<a :href="getDownloadUrl(event, 'documents')" target="_blank" class="button button--small" v-if="event.documents">
|
<a :href="getDownloadUrl(event, 'documents')" target="_blank" class="button button--small" v-if="event.documents">
|
||||||
Reiseinfos
|
Reiseinfos
|
||||||
</a>
|
</a>
|
||||||
<router-link :to="{ name: 'bookingEdit', params: { id: event.id } }" v-if="isGroupManager && event.editable" class="button button--small">
|
<router-link :to="{ name: 'bookingEdit', params: { id: event.id } }" v-if="event.editable" class="button button--small">
|
||||||
bearbeiten
|
bearbeiten
|
||||||
</router-link>
|
</router-link>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user