Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
DlhSoftTeam committed Feb 26, 2020
2 parents aa050e0 + ae1b5ee commit 1f49f12
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion GanttChartHyperLibraryDemos/Demos/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,15 @@ angular.module('Demos', [])
$scope.getSampleUrl = function (selectedSample, selectedTechnology, selectedTheme) {
return 'Samples/' + (selectedTechnology ? selectedTechnology.name : '') + '/' + selectedSample.component + '/' + selectedSample.feature + '/index.html?' + (selectedTheme ? selectedTheme : $scope.applyingTheme);
};
if (initialSelection)
if (initialSelection == 'AngularJS')
$scope.selectedTechnology = technologies[2];
else if (initialSelection == 'Angular')
$scope.selectedTechnology = technologies[3];
else if (initialSelection == 'React')
$scope.selectedTechnology = technologies[4];
else if (initialSelection == 'Vue')
$scope.selectedTechnology = technologies[5];
else if (initialSelection)
selectComponent(initialSelection);
})
.directive('dsSample', function ($timeout) {
Expand Down
10 changes: 9 additions & 1 deletion GanttChartHyperLibraryDemos/Demos/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,15 @@ angular.module('Demos', [])
$scope.getSampleUrl = (selectedSample, selectedTechnology, selectedTheme) => {
return 'Samples/' + (selectedTechnology ? selectedTechnology.name : '') + '/' + selectedSample.component + '/' + selectedSample.feature + '/index.html?' + (selectedTheme ? selectedTheme : $scope.applyingTheme);
};
if (initialSelection)
if (initialSelection == 'AngularJS')
$scope.selectedTechnology = technologies[2];
else if (initialSelection == 'Angular')
$scope.selectedTechnology = technologies[3];
else if (initialSelection == 'React')
$scope.selectedTechnology = technologies[4];
else if (initialSelection == 'Vue')
$scope.selectedTechnology = technologies[5];
else if (initialSelection)
selectComponent(initialSelection);
})
.directive('dsSample', ($timeout) => {
Expand Down

0 comments on commit 1f49f12

Please sign in to comment.