We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f198639 commit cbe2799Copy full SHA for cbe2799
1 file changed
tabpanel/tabpanel_server.js
@@ -19,6 +19,7 @@ $scope.api.addTab = function(form, tabText, index) {
19
}
20
21
$scope.api.getTabAt = function(index) {
22
+ if (!$scope.model.tabs) return null;
23
if (index > 0 && index <= $scope.model.tabs.length) {
24
return $scope.model.tabs[index - 1];
25
0 commit comments