Skip to content

Commit

Permalink
feat: тесты теперь не выводятся в сообщении, если они выводятся внизу
Browse files Browse the repository at this point in the history
Иначе они некрасиво дублировались
  • Loading branch information
popstas committed Jul 8, 2018
1 parent 215bcbf commit 2d1ccb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions store/index.js
Expand Up @@ -293,8 +293,8 @@ export const actions = {
});

commit(ADD_MESSAGE, {
text: 'У навыка есть scenarios.yml, в нем есть следующие сценарии:',
buttons: buttons,
text: 'У навыка есть scenarios.yml, в нем есть следующие сценарии (' + state.tests.length + '):',
buttons: state.isBottomTests ? [] : buttons,
author: 'yandex-dialogs-client',
class: 'info'
});
Expand Down

0 comments on commit 2d1ccb9

Please sign in to comment.