Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ESAP GUI
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASTRON SDC
ESCAPE WP5
ESAP GUI
Merge requests
!25
add token to clipboard button
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
add token to clipboard button
dev-nico
into
master
Overview
0
Commits
1
Pipelines
1
Changes
7
Merged
Nico Vermaas
requested to merge
dev-nico
into
master
3 years ago
Overview
0
Commits
1
Pipelines
1
Changes
7
Expand
0
0
Merge request reports
Viewing commit
fbf89244
Show latest version
7 files
+
97
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
fbf89244
add token to clipboard button
· fbf89244
Nico Vermaas
authored
3 years ago
src/components/auth/authControl.js
+
1
−
1
Options
@@ -4,7 +4,7 @@ import { Nav } from "react-bootstrap";
import
{
GlobalContext
}
from
"
../../contexts/GlobalContext
"
;
export
default
function
AuthControl
()
{
const
{
api_host
,
isAuthenticated
,
loggedInUserName
}
=
useContext
(
GlobalContext
);
const
{
api_host
,
isAuthenticated
,
loggedInUserName
,
token
}
=
useContext
(
GlobalContext
);
console
.
log
(
"
loggedIn:
"
,
isAuthenticated
);
Loading