Fixed merges and fuck this is going to be a pain in the ass to resolve and fixed button icons.

This commit is contained in:
Greenscreener 2021-01-23 03:12:07 +01:00
parent 600bdbac64
commit b5d39e937b
2 changed files with 15 additions and 17 deletions

View File

@ -12,18 +12,18 @@
<template #end>
<b-navbar-item tag="div">
<div class="buttons">
<a class="button is-light" v-on:click="$emit('save')" icon-pack="fas" icon-left="save">
<b-button type="is-light" v-on:click="$emit('save')" icon-pack="fas" icon-left="save">
Uložit
</a>
<a class="button is-light" v-on:click="$emit('restore')" icon-pack="fas" icon-left="github-circle">
</b-button>
<b-button type="is-light" v-on:click="$emit('restore')" icon-pack="fas" icon-left="github-circle">
Načíst
</a>
<a class="button is-light" v-on:click="$emit('share')" icon-pack="fas" icon-left="github-circle">
</b-button>
<b-button type="is-light" v-on:click="$emit('share')" icon-pack="fas" icon-left="github-circle">
Sdílet
</a>
<a class="button is-success" v-on:click="$emit('export')" icon-pack="fas" icon-left="github-circle">
</b-button>
<b-button type="is-light" v-on:click="$emit('export')" icon-pack="fas" icon-left="github-circle">
<strong>Exportovat PDF</strong>
</a>
</b-button>
</div>
</b-navbar-item>
</template>

View File

@ -97,14 +97,6 @@ export default {
NavBar,
Hlava
},
methods: {
addHlava: function () {
this.zaloba.hlavy.push({"title":"","text":""})
},
deleteHlava: function (index) {
this.zaloba.hlavy.splice(index, 1)
}
},
data: () => {
return {
pdfSrc: "",
@ -175,6 +167,12 @@ export default {
}
},
methods: {
addHlava: function () {
this.zaloba.hlavy.push({"title":"","text":""})
},
deleteHlava: function (index) {
this.zaloba.hlavy.splice(index, 1)
},
createPdf: function () {
const dd = {
content: [