bothub-it/bothub

Wrong sentences counting in intents list

Closed this issue · 0 comments

Description:
In the intents list, it shows the number of sentences related to it, but when you remove sentences they still are considered for the counting.

Browser: Chrome
OS: OSX
Authenticated: Yes
URL: https://staging.bothub.it

Steps to reproduce the error:

  1. Add a sentence with the Intent "positive";
  2. In the "Trainings" tab you see the list of Intents with 1 sentence inside;

screen shot 2018-10-24 at 6 05 11 pm

  1. You remove the sentence related to it;
  2. You add a new sentence to the same intent "positive" and now you see 2 sentences instead of just one;

screen shot 2018-10-24 at 6 05 30 pm

  1. When you click in the Intent you see just one.

screen shot 2018-10-24 at 6 05 35 pm