diff --git a/src/app/features/config/form-cfgs/sound-form.const.ts b/src/app/features/config/form-cfgs/sound-form.const.ts index fcb4856bb0..70e5a4c9f5 100644 --- a/src/app/features/config/form-cfgs/sound-form.const.ts +++ b/src/app/features/config/form-cfgs/sound-form.const.ts @@ -1,6 +1,7 @@ // tslint:disable:max-line-length import { ConfigFormSection, SoundConfig } from '../global-config.model'; import { T } from '../../../t.const'; +import { playDoneSound } from '../../tasks/util/play-done-sound'; export const SOUND_FORM_CFG: ConfigFormSection = { title: T.GCF.SOUND.TITLE, @@ -41,6 +42,7 @@ export const SOUND_FORM_CFG: ConfigFormSection = { hideExpression: ((model: any) => { return !model.isPlayDoneSound; }), + change: ({ model }) => playDoneSound(model), }, }, {