diff --git a/Composer/packages/client/src/shell/lgApi.ts b/Composer/packages/client/src/shell/lgApi.ts index 16ad1f6a68..0d0be9acb3 100644 --- a/Composer/packages/client/src/shell/lgApi.ts +++ b/Composer/packages/client/src/shell/lgApi.ts @@ -99,7 +99,7 @@ function createLgApi( addLgTemplate: updateLgTemplate, getLgTemplates, updateLgTemplate, - debouncedUpdateLgTemplate: debounce(updateLgTemplate, 250, { leading: true, trailing: false }), + debouncedUpdateLgTemplate: debounce(updateLgTemplate, 250, { leading: true, trailing: true }), removeLgTemplate, removeLgTemplates, copyLgTemplate, diff --git a/Composer/packages/client/src/shell/luApi.ts b/Composer/packages/client/src/shell/luApi.ts index 4fb2bbed14..ae4d185481 100644 --- a/Composer/packages/client/src/shell/luApi.ts +++ b/Composer/packages/client/src/shell/luApi.ts @@ -85,7 +85,7 @@ function createLuApi( getLuIntents, getLuIntent, updateLuIntent, - debouncedUpdateLuIntent: debounce(updateLuIntent, 250, { leading: true, trailing: false }), + debouncedUpdateLuIntent: debounce(updateLuIntent, 250, { leading: true, trailing: true }), renameLuIntent, removeLuIntent, };