Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
BoxDialer
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Kulya
BoxDialer
Commits
137be97c
Commit
137be97c
authored
Sep 22, 2023
by
Muhammadali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update-
parent
11d39396
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
package.json
package.json
+1
-1
index.jsx
src/components/DropDown/index.jsx
+4
-3
No files found.
package.json
View file @
137be97c
{
"name"
:
"boxdialer"
,
"version"
:
"2.4.
3
"
,
"version"
:
"2.4.
4
"
,
"description"
:
""
,
"main"
:
"src/boxDialer.js"
,
"scripts"
:
{
...
...
src/components/DropDown/index.jsx
View file @
137be97c
...
...
@@ -12,13 +12,14 @@ const DropDown = ({ reasons, reason, selectFunc }) => {
onClick=
{
()
=>
setVisible
(
visible
?
0
:
1
)
}
className=
'nocopy'
>
<
DropDownStyle
.
Text
>
<
Text
id=
{
reason
.
toUpperCase
()
}
/>
{
/* <Text id={reason.toUpperCase()} /> */
}
{
translator
.
translate
(
reason
.
toUpperCase
())
}
</
DropDownStyle
.
Text
>
<
DropDownStyle
.
DropDown
visiblevalue=
{
visible
}
className=
{
'
nocopy
'
}
>
{
reasons
.
map
((
value
,
index
)
=>
(
<
div
className=
'select'
key=
{
index
}
onClick=
{
()
=>
selectFunc
(
value
)
}
>
{
/* {translator.translate(value.toUpperCase())} */
}
<
Text
id=
{
value
.
toUpperCase
()
}
/>
{
translator
.
translate
(
value
.
toUpperCase
())
}
{
/* <Text id={value.toUpperCase()} /> */
}
</
div
>
))
}
</
DropDownStyle
.
DropDown
>
...
...
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