-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added in sign in check component for hiding components as necessary, …
…applied to all simulators
- Loading branch information
1 parent
36caf0b
commit 75fb48e
Showing
25 changed files
with
1,444 additions
and
1,492 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React, { Component } from "react" | ||
import ContentSignIn from './simulation/content_signin'; | ||
|
||
class SigninCheck extends Component { | ||
render() { | ||
return ( | ||
this.props.auth === "true" ? this.props.data : <ContentSignIn content={this.props.content}/> | ||
) | ||
} | ||
} | ||
|
||
export default SigninCheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
321 changes: 159 additions & 162 deletions
321
...pages/pedagogic_modules/include_ci_service_concepts/ci_service_fundamentals_simulation.js
Large diffs are not rendered by default.
Oops, something went wrong.
411 changes: 204 additions & 207 deletions
411
.../pedagogic_modules/include_ci_service_concepts/ci_storage_network_proximity_simulation.js
Large diffs are not rendered by default.
Oops, something went wrong.
303 changes: 150 additions & 153 deletions
303
...src/pages/pedagogic_modules/include_ci_service_concepts/ci_storage_services_simulation.js
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.