mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 22:52:32 -05:00
refactor templates controller
This commit is contained in:
1 parent
715c70d422
commit
077eab7005
10 files changed
+75
-60
No files matched your search
@@ -611,6 +611,11 @@ export default {
|
||||
required: false,
|
||||
default: () => ({})
|
||||
},
|
||||
authenticityToken: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: ''
|
||||
},
|
||||
i18n: {
|
||||
type: Object,
|
||||
required: false,
|
||||
@@ -658,9 +663,6 @@ export default {
|
||||
queryParams () {
|
||||
return new URLSearchParams(window.location.search)
|
||||
},
|
||||
authenticityToken () {
|
||||
return document.querySelector('meta[name="csrf-token"]')?.content
|
||||
},
|
||||
submitterSlug () {
|
||||
return this.submitter.slug
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user