forked from github/plane
fix: spreadsheet views sorting (#3683)
* fix sorting in spreadsheet all issues * removing focus border since it is being handled globally
This commit is contained in:
parent
7628419a26
commit
85a8af5125
@ -159,7 +159,7 @@ export const AllIssueLayoutRoot: React.FC = observer(() => {
|
|||||||
globalViewId.toString()
|
globalViewId.toString()
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
[updateFilters, workspaceSlug]
|
[updateFilters, workspaceSlug, globalViewId]
|
||||||
);
|
);
|
||||||
|
|
||||||
const renderQuickActions = useCallback(
|
const renderQuickActions = useCallback(
|
||||||
|
@ -88,7 +88,7 @@ export const BaseSpreadsheetRoot = observer((props: IBaseSpreadsheetRoot) => {
|
|||||||
viewId
|
viewId
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
[issueFiltersStore, projectId, workspaceSlug, viewId]
|
[issueFiltersStore?.updateFilters, projectId, workspaceSlug, viewId]
|
||||||
);
|
);
|
||||||
|
|
||||||
const renderQuickActions = useCallback(
|
const renderQuickActions = useCallback(
|
||||||
|
@ -38,7 +38,7 @@ export const IssueColumn = observer((props: Props) => {
|
|||||||
>
|
>
|
||||||
<td
|
<td
|
||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
className="h-11 w-full min-w-[8rem] bg-custom-background-100 text-sm after:absolute after:w-full after:bottom-[-1px] after:border after:border-custom-border-100 border-r-[1px] border-custom-border-100 focus:border-custom-primary-70"
|
className="h-11 w-full min-w-[8rem] bg-custom-background-100 text-sm after:absolute after:w-full after:bottom-[-1px] after:border after:border-custom-border-100 border-r-[1px] border-custom-border-100"
|
||||||
ref={tableCellRef}
|
ref={tableCellRef}
|
||||||
>
|
>
|
||||||
<Column
|
<Column
|
||||||
|
@ -28,7 +28,7 @@ export const SpreadsheetHeaderColumn = observer((props: Props) => {
|
|||||||
shouldRenderProperty={shouldRenderProperty}
|
shouldRenderProperty={shouldRenderProperty}
|
||||||
>
|
>
|
||||||
<th
|
<th
|
||||||
className="h-11 w-full min-w-[8rem] items-center bg-custom-background-90 text-sm font-medium px-4 py-1 border border-b-0 border-t-0 border-custom-border-100 focus:border-custom-primary-70"
|
className="h-11 w-full min-w-[8rem] items-center bg-custom-background-90 text-sm font-medium px-4 py-1 border border-b-0 border-t-0 border-custom-border-100"
|
||||||
ref={tableHeaderCellRef}
|
ref={tableHeaderCellRef}
|
||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
>
|
>
|
||||||
|
@ -202,7 +202,7 @@ export class IssueHelperStore implements TIssueHelperStore {
|
|||||||
if (!memberMap) break;
|
if (!memberMap) break;
|
||||||
for (const dataId of dataIdsArray) {
|
for (const dataId of dataIdsArray) {
|
||||||
const member = memberMap[dataId];
|
const member = memberMap[dataId];
|
||||||
if (memberMap && member.first_name) dataValues.push(member.first_name.toLocaleLowerCase());
|
if (member && member.first_name) dataValues.push(member.first_name.toLocaleLowerCase());
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user