[Vuejs]-An issue in (Show more) / (Show Less) button VueJS

1👍

It looks to me that your FilterByTopic_limit_by starts at value 5, and your FilterByTopicOptions.length starts at value 21 because of the way it is being initialized at data, so it fails the FilterByTopic_limit_by === FilterByTopic.FilterByTopicOptions.length comparison.

EDIT:
Try changing the test from FilterByTopic_limit_by === FilterByTopic.FilterByTopicOptions.length
to FilterByTopic.FilterByTopicOptions.length > FilterByTopic_limit_by

Leave a comment