Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
C
cms
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Pedro-dev_2
cms
Commits
e5a6ce7c
Commit
e5a6ce7c
authored
Jun 05, 2021
by
PDuarte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
min width proj selector
parent
78b82b37
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
SelectProject.js
src/@core/layouts/components/navbar/SelectProject.js
+3
-2
No files found.
src/@core/layouts/components/navbar/SelectProject.js
View file @
e5a6ce7c
...
...
@@ -56,8 +56,9 @@ const SelectProject = props => {
}
},
[
store
.
allDataProjects
])
return
<
Fragment
>
return
<
div
style
=
{{
minWidth
:
'120px'
}}
>
{
dataProject
.
length
>
0
?
<
AsyncSelect
placeholder
=
"Project"
isClearable
=
{
false
}
className
=
'react-select'
classNamePrefix
=
'select'
...
...
@@ -68,7 +69,7 @@ return <Fragment>
onChange
=
{
handleChange
}
theme
=
{
selectThemeColors
}
/> : <div>Loading...</
div
>
}
<
/
Fragment
>
<
/
div
>
}
export
default
SelectProject
\ No newline at end of file
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