Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Genesys Website
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
19
Issues
19
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Genesys PGR
Genesys Website
Commits
a07f07c7
Commit
a07f07c7
authored
Oct 09, 2020
by
Oleksii Savran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: Request for material
parent
77c11c18
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
workspaces/ui-express/src/divtree/ui/dashboard/StepperPage.ts
...spaces/ui-express/src/divtree/ui/dashboard/StepperPage.ts
+2
-0
workspaces/ui-express/src/ui/pages/_base/StepperPage.tsx
workspaces/ui-express/src/ui/pages/_base/StepperPage.tsx
+2
-2
workspaces/ui-express/src/vocabulary/ui/EditPage.tsx
workspaces/ui-express/src/vocabulary/ui/EditPage.tsx
+1
-1
No files found.
workspaces/ui-express/src/divtree/ui/dashboard/StepperPage.ts
View file @
a07f07c7
...
@@ -21,6 +21,8 @@ class StepperPage extends StepperPageTemplate<DiversityTree, any> {
...
@@ -21,6 +21,8 @@ class StepperPage extends StepperPageTemplate<DiversityTree, any> {
protected
static
needs
=
[
protected
static
needs
=
[
({
params
:
{
uuid
}})
=>
uuid
?
withPermissionCheck
(
'
write
'
)(
loadDivTree
(
uuid
))
:
null
,
({
params
:
{
uuid
}})
=>
uuid
?
withPermissionCheck
(
'
write
'
)(
loadDivTree
(
uuid
))
:
null
,
];
];
protected
onPublish
=
null
;
// override
}
}
const
mapStateToProps
=
(
state
,
ownProps
)
=>
({
const
mapStateToProps
=
(
state
,
ownProps
)
=>
({
...
...
workspaces/ui-express/src/ui/pages/_base/StepperPage.tsx
View file @
a07f07c7
...
@@ -140,7 +140,7 @@ class StepperTemplate<T, P> extends React.Component<IStepperProps<StepperUnionTy
...
@@ -140,7 +140,7 @@ class StepperTemplate<T, P> extends React.Component<IStepperProps<StepperUnionTy
}
}
public
render
()
{
public
render
()
{
const
{
uuid
,
apiCall
,
pageTitle
,
route
,
match
,
steps
,
path
,
location
,
showHeader
=
true
,
t
,
progress
=
null
,
withoutApiCall
=
false
,
publishItem
}
=
this
.
props
;
const
{
uuid
,
apiCall
,
pageTitle
,
route
,
match
,
steps
,
path
,
location
,
showHeader
=
true
,
t
,
progress
=
null
,
withoutApiCall
=
false
}
=
this
.
props
;
if
(
!
apiCall
&&
!
withoutApiCall
)
{
if
(
!
apiCall
&&
!
withoutApiCall
)
{
return
<
Loading
/>
return
<
Loading
/>
}
}
...
@@ -169,7 +169,7 @@ class StepperTemplate<T, P> extends React.Component<IStepperProps<StepperUnionTy
...
@@ -169,7 +169,7 @@ class StepperTemplate<T, P> extends React.Component<IStepperProps<StepperUnionTy
t
,
t
,
progress
,
progress
,
onDelete
:
this
.
onDelete
,
onDelete
:
this
.
onDelete
,
onPublish
:
!!
publishItem
?
this
.
onPublish
:
null
,
onPublish
:
!!
this
.
onPublish
?
this
.
onPublish
:
null
,
// for DiversityTree, it has only 2 publish states
onUnpublish
:
this
.
onUnpublish
,
onUnpublish
:
this
.
onUnpublish
,
onApprove
:
this
.
onApprove
,
onApprove
:
this
.
onApprove
,
onGotoStep
:
this
.
gotoStep
,
onGotoStep
:
this
.
gotoStep
,
...
...
workspaces/ui-express/src/vocabulary/ui/EditPage.tsx
View file @
a07f07c7
...
@@ -78,7 +78,7 @@ class VocabularyEditPage extends React.Component<IVocabularyEditPageProps, any>
...
@@ -78,7 +78,7 @@ class VocabularyEditPage extends React.Component<IVocabularyEditPageProps, any>
public
componentDidMount
()
{
public
componentDidMount
()
{
const
{
uuid
,
apiCall
,
loadVocabulary
,
myPartners
,
loadMyPartners
}
=
this
.
props
;
const
{
uuid
,
apiCall
,
loadVocabulary
,
myPartners
,
loadMyPartners
}
=
this
.
props
;
const
{
data
:
vocabulary
}
=
apiCall
||
{
ta
:
undefined
};
const
{
data
:
vocabulary
}
=
apiCall
||
{
da
ta
:
undefined
};
if
(
!
myPartners
||
myPartners
.
length
===
0
)
{
if
(
!
myPartners
||
myPartners
.
length
===
0
)
{
loadMyPartners
();
loadMyPartners
();
...
...
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