Repository: louislam/uptime-kuma
File: src/pages/EditMonitor.vue (Vue)

Code before:
                                >
                                    <div class="form-check">
                                        <input
                                            id="saveErrorResponse"
                                            v-model="monitor.saveErrorResponse"
                                            class="form-check-input"
                                            type="checkbox"
                                        />
                                        <label class="form-check-label" for="saveErrorResponse">
                                            {{ $t("saveErrorResponseForNotifications") }}
                                        </label>
                                    </div>
                                    <div class="form-text">
                                        <i18n-t keypath="saveResponseDescription" tag="div" class="form-text">
                                            <template #templateVariable>
                                                <code>heartbeatJSON.response</code>
                                            </template>
                                        </i18n-t>
                                    </div>
                                </div>
                                
                                <div
                                    v-if="
                                        monitor.type === 'http' ||
                                        monitor.type === 'keyword' ||
                                        monitor.type === 'json-query'
                                    "
                                    class="my-3"
                                >
                                    <div class="form-check">
                                        <input
                                            id="saveResponse"
                                            v-model="monitor.saveResponse"
                                            class="form-check-input"
                                            type="checkbox"
                                        />
                                        <label class="form-check-label" for="saveResponse">
                                            {{ $t("saveResponseForNotifications") }}
                                        </label>
                                    </div>
                                    <div class="form-text">
                                        <i18n-t keypath="saveResponseDescription" tag="div" class="form-text">
                                            <template #templateVariable>
                                                <code>heartbeatJSON.response</code>
                                            </template>
                                        </i18n-t>
                                    </div>
                                </div>

                                <div
                                    v-if="

Review comment (suggestion):
we can always start with things being restricted, but we cannot take this back..

```suggestion
                                        (monitor.type === 'http' ||
                                        monitor.type === 'keyword' ||
                                        monitor.type === 'json-query') && monitor.saveErrorResponse
```

Code after:
                                        class="form-control"
                                        required
                                        min="0"
                                        step="1"
                                    />
                                    <div class="form-text">
                                        {{ $t("maxRedirectDescription") }}
                                    </div>
                                </div>

                                <div
                                    v-if="
                                        monitor.type === 'http' ||
                                        monitor.type === 'keyword' ||
                                        monitor.type === 'json-query'
                                    "
                                    class="my-3"
                                >
                                    <div class="form-check">
                                        <input
                                            id="saveErrorResponse"
                                            v-model="monitor.saveErrorResponse"
                                            class="form-check-input"
                                            type="checkbox"
                                        />
                                        <label class="form-check-label" for="saveErrorResponse">
                                            {{ $t("saveErrorResponseForNotifications") }}
                                        </label>
                                    </div>
                                    <div class="form-text">
                                        <i18n-t keypath="saveResponseDescription" tag="div" class="form-text">
                                            <template #templateVariable>
                                                <code>heartbeatJSON.response</code>
                                            </template>
                                        </i18n-t>
                                    </div>
                                </div>

                                <div
                                    v-if="
                                        (monitor.type === 'http' ||
                                            monitor.type === 'keyword' ||
                                            monitor.type === 'json-query') &&
                                        monitor.saveErrorResponse
                                    "
                                    class="my-3"
                                >
                                    <div class="form-check">
                                        <input
                                            id="saveResponse"
                                            v-model="monitor.saveResponse"