diff --git a/README.md b/README.md index 36bd351..02488da 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,9 @@ A dictionnary of arcane spells from a homebrew tabletop RPG. ## Built With -* [Vue CLI](http://www.dropwizard.io/1.0.2/docs/) - Web Framework +* [Vue CLI](http://www.dropwizard.io/1.0.2/docs/) - Web Framework for the client * [NPM](https://maven.apache.org/) - Package and Dependency Management ## Authors -* **Alexis** - *Designing, Development & Conception* - [Github](https://github.com/AlexisNP) \ No newline at end of file +* **Alexis Pelé** - *Designing, Development & Conception* - [Github](https://github.com/AlexisNP) +* **Mathieu Hance** - *Designing, Integration* \ No newline at end of file diff --git a/client/src/components/spells/spells-list.vue b/client/src/components/spells/spells-list.vue index e3f4e6f..1bd7d7d 100644 --- a/client/src/components/spells/spells-list.vue +++ b/client/src/components/spells/spells-list.vue @@ -58,10 +58,9 @@ export default { this.adding_spell = false }, addSpell(e) { - console.log(e) Spells.getSpell(e.id) .then(v => { - this.spells.push(v.data) + this.spells.unshift(v.data) }) .then(() => { this.adding_spell = false diff --git a/client/src/main.js b/client/src/main.js index 6bb662a..98004e9 100644 --- a/client/src/main.js +++ b/client/src/main.js @@ -27,8 +27,6 @@ Vue.use(VueRouter) Vue.use(VueMasonryPlugin) Vue.use(BootstrapVue) - - var filter = function(text, length, clamp){ clamp = clamp || '...'; var node = document.createElement('div');