Skip to content

Commit

Permalink
dropdown fixed when logout
Browse files Browse the repository at this point in the history
  • Loading branch information
holycrab13 committed May 15, 2024
1 parent 4746dc7 commit c7274ab
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/components/file-browser/file-browser.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<div style="display: flex; align-items: center;">
<div ng-if="!$ctrl.isLoading" style="margin-right: 1em;">{{ $ctrl.numFiles }} file(s) / {{
$ctrl.totalSize }}</div>
<collection-editor-widget selection='$ctrl.node'></collection-editor-widget>
<collection-editor-widget ng-if="$ctrl.config.authenticated" selection='$ctrl.node'></collection-editor-widget>
</div>
</div>

Expand Down
1 change: 1 addition & 0 deletions public/js/page-controller/artifact-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function ArtifactPageController($scope, $http, $sce, $location, collectionManage

$scope.fileSelector = {};
$scope.fileSelector.config = {};
$scope.fileSelector.config.authenticated = $scope.authenticated;
$scope.fileSelector.config.columns = [];
$scope.fileSelector.config.columns.push({ field: 'version', label: 'Version', width: '30%' });
$scope.fileSelector.config.columns.push({ field: 'variant', label: 'Variant', width: '30%' });
Expand Down
1 change: 1 addition & 0 deletions public/js/page-controller/group-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ function GroupPageController($scope, $http, $sce, $interval, $location, collecti

$scope.fileSelector = {};
$scope.fileSelector.config = {};
$scope.fileSelector.config.authenticated = $scope.authenticated;
$scope.fileSelector.config.columns = [];
$scope.fileSelector.config.columns.push({ field: 'artifact', label: 'Artifact', width: '30%', uriToName: true });
$scope.fileSelector.config.columns.push({ field: 'version', label: 'Version', width: '21%' });
Expand Down
1 change: 1 addition & 0 deletions public/js/page-controller/version-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ function VersionPageController($scope, $http, $sce, $location, collectionManager

$scope.fileSelector = {};
$scope.fileSelector.config = {};
$scope.fileSelector.config.authenticated = $scope.authenticated;
$scope.fileSelector.config.columns = [];
$scope.fileSelector.config.columns.push({ field: 'variant', label: 'Variant', width: '45%' });
$scope.fileSelector.config.columns.push({ field: 'format', label: 'Format', width: '15%' });
Expand Down
1 change: 1 addition & 0 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"node-rsa": "^1.1.1",
"openid-client": "^3.10.0",
"pem-jwk": "^2.0.0",
"proxy-agent": "^6.4.0",
"rdf-ext": "^1.3.1",
"rdf-parse": "^1.8.0",
"rdf-validate-shacl": "^0.3.2",
Expand Down

0 comments on commit c7274ab

Please sign in to comment.