Merge pull request #2060 from makeplane/develop

Promote: Develop to Stage Release
This commit is contained in:
sriram veeraghanta 2023-09-01 20:56:31 +05:30 committed by GitHub
commit 674347c99e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 34 deletions

View File

@ -124,7 +124,7 @@ export const SidebarBlockedSelect: React.FC<Props> = ({
</div> </div>
<button <button
type="button" type="button"
className={`bg-custom-background-80 text-xs rounded px-2.5 py-0.5 ${ className={`bg-custom-background-80 text-xs text-custom-text-200 rounded px-2.5 py-0.5 ${
disabled ? "cursor-not-allowed" : "cursor-pointer hover:bg-custom-background-80" disabled ? "cursor-not-allowed" : "cursor-pointer hover:bg-custom-background-80"
}`} }`}
onClick={() => setIsBlockedModalOpen(true)} onClick={() => setIsBlockedModalOpen(true)}

View File

@ -126,7 +126,7 @@ export const SidebarBlockerSelect: React.FC<Props> = ({
</div> </div>
<button <button
type="button" type="button"
className={`bg-custom-background-80 text-xs rounded px-2.5 py-0.5 ${ className={`bg-custom-background-80 text-xs text-custom-text-200 rounded px-2.5 py-0.5 ${
disabled ? "cursor-not-allowed" : "cursor-pointer hover:bg-custom-background-80" disabled ? "cursor-not-allowed" : "cursor-pointer hover:bg-custom-background-80"
}`} }`}
onClick={() => setIsBlockerModalOpen(true)} onClick={() => setIsBlockerModalOpen(true)}

View File

@ -62,6 +62,7 @@ export const SidebarCycleSelect: React.FC<Props> = ({
return ( return (
<CustomSelect <CustomSelect
customButton={ customButton={
<div>
<Tooltip <Tooltip
position="left" position="left"
tooltipContent={`${issueCycle ? issueCycle.cycle_detail.name : "No cycle"}`} tooltipContent={`${issueCycle ? issueCycle.cycle_detail.name : "No cycle"}`}
@ -73,12 +74,15 @@ export const SidebarCycleSelect: React.FC<Props> = ({
}`} }`}
> >
<span <span
className={`truncate ${issueCycle ? "text-custom-text-100" : "text-custom-text-200"}`} className={`truncate ${
issueCycle ? "text-custom-text-100" : "text-custom-text-200"
}`}
> >
{issueCycle ? issueCycle.cycle_detail.name : "No cycle"} {issueCycle ? issueCycle.cycle_detail.name : "No cycle"}
</span> </span>
</button> </button>
</Tooltip> </Tooltip>
</div>
} }
value={issueCycle ? issueCycle.cycle_detail.id : null} value={issueCycle ? issueCycle.cycle_detail.id : null}
onChange={(value: any) => { onChange={(value: any) => {

View File

@ -56,6 +56,7 @@ export const SidebarModuleSelect: React.FC<Props> = ({
return ( return (
<CustomSelect <CustomSelect
customButton={ customButton={
<div>
<Tooltip <Tooltip
position="left" position="left"
tooltipContent={`${ tooltipContent={`${
@ -77,6 +78,7 @@ export const SidebarModuleSelect: React.FC<Props> = ({
</span> </span>
</button> </button>
</Tooltip> </Tooltip>
</div>
} }
value={issueModule ? issueModule.module_detail?.id : null} value={issueModule ? issueModule.module_detail?.id : null}
onChange={(value: any) => { onChange={(value: any) => {