mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2024-11-22 02:53:05 +00:00
change capital M to lower m
This commit is contained in:
parent
d316f41aea
commit
81a83bec22
3 changed files with 13 additions and 7 deletions
|
@ -10,7 +10,7 @@
|
|||
@input="selectSelection">
|
||||
<option
|
||||
v-for="option in pmsSections"
|
||||
:value="option"
|
||||
:value="option.key"
|
||||
:key="option.key"
|
||||
v-on:change="onchange()">
|
||||
{{ option.title }}
|
||||
|
@ -24,6 +24,9 @@
|
|||
<div class="buttons">
|
||||
<b-button type="is-primary" @click="getMedia" icon-left="fas fa-file-download" icon-pack="fas">Get Media from selection</b-button>
|
||||
</div>
|
||||
<hr>
|
||||
<h1 class="title is-3">3. Get data</h1>
|
||||
|
||||
|
||||
</section>
|
||||
</template>
|
||||
|
@ -41,13 +44,12 @@ export default {
|
|||
}, methods: {
|
||||
selectSelection: function (selected) {
|
||||
console.log(selected)
|
||||
//this.$store.commit("UPDATE_SELECTED_SERVER", selected);
|
||||
this.$store.commit("UPDATE_SELECTEDSECTION", selected);
|
||||
},
|
||||
getMedia(){
|
||||
console.log("getMedia Called")
|
||||
this.$store.dispatch('getMedia');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import Vue from 'vue'
|
||||
import Vuex from 'vuex'
|
||||
import VuexPersistence from 'vuex-persist';
|
||||
import plextv from './Modules/plextv'
|
||||
import poeditor from './Modules/poeditor'
|
||||
import et from './Modules/et'
|
||||
import plextv from './modules/plextv'
|
||||
import poeditor from './modules/poeditor'
|
||||
import et from './modules/et'
|
||||
|
||||
Vue.use(Vuex)
|
||||
|
||||
|
|
|
@ -2,12 +2,16 @@ import axios from 'axios';
|
|||
|
||||
|
||||
const state = {
|
||||
sections: []
|
||||
sections: [],
|
||||
selectedSection : ""
|
||||
};
|
||||
|
||||
const mutations = {
|
||||
UPDATE_SECTIONS(state, payload) {
|
||||
state.sections = payload;
|
||||
},
|
||||
UPDATE_SELECTEDSECTION(state, payload) {
|
||||
state.selectedSection = payload
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue