mirror of https://github.com/MarceauKa/shaark.git
🔧 Toasts now have a duration 🔧 Default chest line name 🔧 Missing home button when no content
This commit is contained in:
parent
72997fd3b5
commit
7fee130757
|
@ -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);
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue