🔧 Toasts now have a duration 🔧 Default chest line name 🔧 Missing home button when no content

This commit is contained in:
MarceauKa 2019-08-27 18:19:48 +02:00
parent 72997fd3b5
commit 7fee130757
3 changed files with 7 additions and 1 deletions

1
resources/js/app.js vendored
View File

@ -30,6 +30,7 @@ Vue.component('vue-markdown', VueMarkdown);
import Toasted from 'vue-toasted';
Vue.use(Toasted, {
position: 'top-center',
duration: 2000,
});
const files = require.context('./', true, /\.vue$/i);

View File

@ -131,6 +131,10 @@ export default {
setLineType(type) {
this.line.type = type;
if (this.line.name.length === 0) {
this.line.name = this.types[this.line.type];
}
},
copyToClipboard($event, value) {

View File

@ -33,7 +33,8 @@
<p class="text-center">
<a href="{{ route('link.create') }}" class="btn btn-outline-primary">Ajouter un lien</a>
<a href="{{ route('link.create') }}" class="btn btn-outline-primary">Ajouter une story</a>
<a href="{{ route('story.create') }}" class="btn btn-outline-primary">Ajouter une story</a>
<a href="{{ route('chest.create') }}" class="btn btn-outline-primary">Ajouter un coffre</a>
</p>
</div>
</div>