-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/package visible #368
Fix/package visible #368
Changes from 8 commits
98c8aa7
0df841e
d6460bf
b2f2027
e1b0def
93fee1a
ffc9d06
0cb33bf
0f6381b
53b65cc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,4 +87,4 @@ button[type='submit'] { | |
} | ||
.each-button { | ||
margin: 10px; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -87,4 +87,4 @@ | |
} | ||
.each-button { | ||
margin: 10px; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,4 +86,4 @@ button[type='submit'] { | |
} | ||
.each-button { | ||
margin: 10px; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
|
||
from zango.core.decorators import internal_access_only | ||
|
||
|
||
urlpatterns = [ | ||
re_path( | ||
r"^auth/", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,4 +31,4 @@ | |
</div> | ||
</div> | ||
|
||
{% endblock %} | ||
{% endblock %} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,4 +32,4 @@ | |
</div> | ||
</div> | ||
|
||
{% endblock %} | ||
{% endblock %} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,4 +33,4 @@ | |
</div> | ||
</div> | ||
|
||
{% endblock %} | ||
{% endblock %} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { useState, useEffect } from "react"; | ||
import { ReactComponent as DetailEyeIcon } from '../../../../assets/images/svg/detail-eye-icon.svg'; | ||
import { openIsConfigurePackageModalOpen } from "../../slice"; | ||
|
||
const ViewDetailButton = ({info,dispatch})=>{ | ||
let configUrl = info.row.original.config_url | ||
const [disable,setDisable] = useState(true) | ||
useEffect(()=>{ | ||
setDisable(configUrl!==null) | ||
},[]) | ||
|
||
return <div className="flex h-full flex-col border-b border-[#F0F3F4] px-[20px] py-[14px]"> | ||
<button | ||
className="flex items-center gap-[12px] disabled:opacity-25" | ||
onClick={() => { | ||
dispatch(openIsConfigurePackageModalOpen(info.row.original)); | ||
}} | ||
disabled={!disable} | ||
> | ||
<span | ||
className={`w-fit min-w-max rounded-[15px] text-center font-lato text-[14px] font-normal capitalize leading-[20px] tracking-[0.2px] text-[#5048ED]`} | ||
> | ||
View Details | ||
</span> | ||
<DetailEyeIcon /> | ||
</button> | ||
</div> | ||
|
||
} | ||
|
||
export default ViewDetailButton; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove this file
@adhiraj23zelthy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done