fix: set first tab active after routing

This commit is contained in:
Nabin Hait 2022-06-06 12:19:18 +05:30
parent 620852a100
commit c2ce0ed8c1

View file

@ -78,7 +78,7 @@ export default class Tab {
set_active() {
this.parent.find('.nav-link').tab('show');
this.wrapper.addClass('show');
this.wrapper.addClass('active');
this.frm.active_tab = this;
}