diff --git a/src/api/pbx-config.js b/src/api/pbx-config.js index 0b85908c..c6866528 100644 --- a/src/api/pbx-config.js +++ b/src/api/pbx-config.js @@ -712,3 +712,7 @@ export function getSoundFilesGrouped(options) { }); }); } + +export function removeSoundSet(id) { + return Vue.http.delete('api/soundsets/' + id); +} diff --git a/src/components/pages/PbxConfiguration/CscPbxSoundSet.vue b/src/components/pages/PbxConfiguration/CscPbxSoundSet.vue index 5e48e545..71b56df9 100644 --- a/src/components/pages/PbxConfiguration/CscPbxSoundSet.vue +++ b/src/components/pages/PbxConfiguration/CscPbxSoundSet.vue @@ -25,8 +25,12 @@ sublabel >
- {{ $t('pbxConfig.description') }}: - {{ set.description }} + + {{ $t('pbxConfig.description') }}: + + + {{ set.description }} +
+
{{ $t('pbxConfig.noSoundSets') }}
+