-
-
- {{ $t('Some services must be restarted to load the new settings.') }}
-
-
-
-
-
-
-
-
diff --git a/html/pfappserver/root/src/views/Configuration/monit/_components/TheView.js b/html/pfappserver/root/src/views/Configuration/monit/_components/TheView.js
index 6fd97ba6c867..111cc5fa7f8c 100644
--- a/html/pfappserver/root/src/views/Configuration/monit/_components/TheView.js
+++ b/html/pfappserver/root/src/views/Configuration/monit/_components/TheView.js
@@ -1,6 +1,6 @@
import {
- AlertServices,
BaseView,
+
FormButtonBar,
TheForm
} from './'
@@ -10,36 +10,17 @@ const components = {
TheForm
}
-import { computed } from '@vue/composition-api'
-import { renderHOCWithScopedSlots } from '@/components/new/'
import { useViewResource, useViewResourceProps as props } from '../../_composables/useViewResource'
-import * as resource from '../_composables/useResource'
-
-const setup = (props, context) => {
-
- const viewResource = useViewResource(resource, props, context)
- const {
- isLoading,
- isModified
- } = viewResource
- const scopedSlotProps = computed(() => ({ ...props, isLoading: isLoading.value, isModified: isModified.value }))
-
- return {
- ...viewResource,
- scopedSlotProps
- }
-}
-
-const render = renderHOCWithScopedSlots(BaseView, { components, props, setup }, {
- buttonsPrepend: AlertServices
-})
+import * as resource from '../_composables/useResource'
+const setup = (props, context) => useViewResource(resource, props, context)
// @vue/component
export default {
name: 'the-view',
extends: BaseView,
inheritAttrs: false,
+ components,
props,
- render
+ setup
}
diff --git a/html/pfappserver/root/src/views/Configuration/monit/_components/index.js b/html/pfappserver/root/src/views/Configuration/monit/_components/index.js
index 0c769e1b0281..4847957ad35c 100644
--- a/html/pfappserver/root/src/views/Configuration/monit/_components/index.js
+++ b/html/pfappserver/root/src/views/Configuration/monit/_components/index.js
@@ -5,7 +5,6 @@ import {
BaseFormGroupTextarea,
BaseFormGroupToggleDisabledEnabled
} from '@/components/new/'
-import AlertServices from './AlertServices'
import TheForm from './TheForm'
import TheView from './TheView'
@@ -20,7 +19,6 @@ export {
BaseFormGroupInput as FormGroupSubjectPrefix,
BaseViewResource as BaseView,
- AlertServices,
TheForm,
TheView
}
diff --git a/html/pfappserver/root/src/views/Configuration/networks/fencing/_components/AlertServices.vue b/html/pfappserver/root/src/views/Configuration/networks/fencing/_components/AlertServices.vue
deleted file mode 100644
index 8e1a9de316d4..000000000000
--- a/html/pfappserver/root/src/views/Configuration/networks/fencing/_components/AlertServices.vue
+++ /dev/null
@@ -1,41 +0,0 @@
-