diff --git a/src/languages/en.js b/src/languages/en.js index f7a637de6..24de7410f 100644 --- a/src/languages/en.js +++ b/src/languages/en.js @@ -315,8 +315,6 @@ export default { "Pick a RR-Type...": "Pick a RR-Type...", "Pick Accepted Status Codes...": "Pick Accepted Status Codes...", Default: "Default", - headersPlaceholder: "Example:\n{\n \"HeaderName\": \"HeaderValue\"\n}", - bodyPlaceholder: "Example:\n{\n \"key\": \"value\"\n}", "HTTP Options": "HTTP Options", "Create Incident": "Create Incident", Title: "Title", diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue index 07bd818ef..2678a94af 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -257,13 +257,13 @@
- +
- +
@@ -352,6 +352,20 @@ export default { return this.$root.baseURL + "/api/push/" + this.monitor.pushToken + "?msg=OK&ping="; }, + bodyPlaceholder() { + return `Example: +{ + "key": "value" +}`; + }, + + headersPlaceholder() { + return `Example: +{ + "HeaderName": "HeaderValue" +}`; + } + }, watch: {