Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nisum-scorecard
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
Venkaiah Naidu Singamchetty
nisum-scorecard
Commits
37c33fa0
Commit
37c33fa0
authored
Mar 25, 2024
by
Shiva Komirishetti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disabled changes added
parent
0caeae14
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
index.jsx
src/pages/reportexport/index.jsx
+4
-3
No files found.
src/pages/reportexport/index.jsx
View file @
37c33fa0
...
@@ -217,7 +217,8 @@ function Exporttable() {
...
@@ -217,7 +217,8 @@ function Exporttable() {
</
div
>
</
div
>
<
div
className=
"flex"
>
<
div
className=
"flex"
>
<
button
<
button
className=
"px-8 py-2 ml-5 w-[100px] h-[40px] bg-blue-500 text-white font-semibold rounded-md"
disabled=
{
!
fromDate
||
!
selectedEmployee
||
!
toDate
}
className=
"px-8 py-2 ml-5 w-[100px] h-[40px] bg-blue-500 text-white font-semibold rounded-md disabled:bg-gray-400"
onClick=
{
(
e
)
=>
handleView
(
e
)
}
onClick=
{
(
e
)
=>
handleView
(
e
)
}
>
>
View
View
...
@@ -225,11 +226,11 @@ function Exporttable() {
...
@@ -225,11 +226,11 @@ function Exporttable() {
<
button
<
button
onClick=
{
getPdfList
}
onClick=
{
getPdfList
}
disabled=
{
pdfLoading
}
disabled=
{
pdfLoading
||
!
fromDate
||
!
selectedEmployee
||
!
toDate
}
type=
"button"
type=
"button"
className=
"px-3 py-2 ml-5 min-w-[100px] disabled:bg-gray-400 h-[40px] bg-blue-500 font-semibold text-white rounded-md flex items-center justify-center"
className=
"px-3 py-2 ml-5 min-w-[100px] disabled:bg-gray-400 h-[40px] bg-blue-500 font-semibold text-white rounded-md flex items-center justify-center"
>
>
<
span
>
Download
</
span
>
<
span
>
{
pdfLoading
?
"Downloading..."
:
"Download"
}
</
span
>
{
pdfLoading
&&
<
div
className=
"loading ml-2 "
></
div
>
}
{
pdfLoading
&&
<
div
className=
"loading ml-2 "
></
div
>
}
</
button
>
</
button
>
</
div
>
</
div
>
...
...
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