Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Michael Geers <michael@geers.tv>
34 lines
873 B
Vue
34 lines
873 B
Vue
<template>
|
|
<YamlModal
|
|
id="messagingLegacyModal"
|
|
name="messaginglegacy"
|
|
:title="`${$t('config.messaging.title')} (${$t('config.general.legacy')})`"
|
|
:description="$t('config.messaging.description')"
|
|
docs="/reference/configuration/messaging"
|
|
:defaultYaml="defaultYaml"
|
|
endpoint="/config/messaging"
|
|
removeKey="messaging"
|
|
data-testid="messaging-legacy-modal"
|
|
@changed="$emit('changed')"
|
|
>
|
|
<template #afterDescription>
|
|
<div class="alert alert-warning my-4" role="alert">
|
|
{{ $t("config.messaging.legacyWarning") }}
|
|
</div>
|
|
</template>
|
|
</YamlModal>
|
|
</template>
|
|
|
|
<script>
|
|
import YamlModal from "../YamlModal.vue";
|
|
import defaultYaml from "../defaultYaml/messaging.yaml?raw";
|
|
|
|
export default {
|
|
name: "MessagingLegacyModal",
|
|
components: { YamlModal },
|
|
emits: ["changed"],
|
|
data() {
|
|
return { defaultYaml: defaultYaml.trim() };
|
|
},
|
|
};
|
|
</script>
|