Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
console
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
console
Commits
abfe72e2
Commit
abfe72e2
authored
Apr 24, 2017
by
nano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c589b9f6
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
54 additions
and
53 deletions
+54
-53
.idea/workspace.xml
.idea/workspace.xml
+51
-50
public/index.html
public/index.html
+1
-1
src/routes/Entry.js
src/routes/Entry.js
+2
-2
No files found.
.idea/workspace.xml
View file @
abfe72e2
This diff is collapsed.
Click to expand it.
public/index.html
View file @
abfe72e2
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<div
id=
"root"
></div>
<div
id=
"root"
></div>
<script
src=
"index.js"
></script>
<script
src=
"
/
index.js"
></script>
</body>
</body>
</html>
</html>
src/routes/Entry.js
View file @
abfe72e2
...
@@ -8,8 +8,8 @@ import {Layout} from "antd";
...
@@ -8,8 +8,8 @@ import {Layout} from "antd";
class
Entry
extends
React
.
Component
{
class
Entry
extends
React
.
Component
{
componentWillMount
()
{
componentWillMount
()
{
const
{
dispatch
,
location
:{
pathname
}}
=
this
.
props
const
{
dispatch
,
location
:
{
pathname
}}
=
this
.
props
if
(
pathname
!==
'
loginCallback
'
)
{
if
(
pathname
!==
'
loginCallback
'
)
{
dispatch
({
type
:
'
Common/init
'
})
dispatch
({
type
:
'
Common/init
'
})
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment