diff --git a/form/res-judicata/src/components/edit/NavBar.vue b/form/res-judicata/src/components/edit/NavBar.vue index fc68671..71631d4 100644 --- a/form/res-judicata/src/components/edit/NavBar.vue +++ b/form/res-judicata/src/components/edit/NavBar.vue @@ -12,18 +12,18 @@ @@ -34,4 +34,4 @@ export default { name: "NavBar" } - \ No newline at end of file + diff --git a/form/res-judicata/src/views/Edit.vue b/form/res-judicata/src/views/Edit.vue index 8277316..6dee42c 100644 --- a/form/res-judicata/src/views/Edit.vue +++ b/form/res-judicata/src/views/Edit.vue @@ -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: [