Fix shifting position on drag drop

This commit is contained in:
Navneet Gupta 2018-07-29 07:17:56 -07:00
Родитель bc6f0dfacb
Коммит 0c0013fc69
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -15,6 +15,8 @@ import { teamIterationsSelector } from '../modules/teamIterations/teamIterationS
import { backogIterationsSelector } from '../modules/teamsettings/teamsettingsselector';
import { uiStateSelector } from './uiStateSelector';
import { workItemDisplayDetailsSelectors } from './workItemDisplayDetailsSelector';
import { IWorkItemOverrideIteration } from "../../../Common/redux/modules/OverrideIterations/overriddenIterationContracts";
import { getWorkItemOverrideIteration } from "../../../Common/redux/modules/OverrideIterations/overriddenIterationsSelector";
export interface ITeamFieldDisplayItem extends IGridItem {
teamField: string;
@ -34,6 +36,7 @@ export const EpicRoadmapGridViewSelector = (isSubGrid: boolean, rootWorkItemId:
getSettingsState as any,
uiStateSelector as any,
() => isSubGrid,
getWorkItemOverrideIteration as any,
getEpicRoadmapGridView
);
export function getEpicRoadmapGridView(
@ -45,6 +48,7 @@ export function getEpicRoadmapGridView(
settingsState: ISettingsState,
uiStatus: UIStatus,
isSubGrid: boolean,
workItemOverrideIteration: IWorkItemOverrideIteration
): IEpicRoadmapGridView {
if (uiStatus !== UIStatus.Default && uiStatus !== UIStatus.OutofScopeTeamIterations) {
return {
@ -110,7 +114,7 @@ export function getEpicRoadmapGridView(
workItems: gridWorkItems,
teamFieldDisplayItems,
isSubGrid: false,
shadowForWorkItemId: -1,
shadowForWorkItemId: workItemOverrideIteration && workItemOverrideIteration.workItemId,
hideParents: false,
iterationDisplayOptions,
teamIterations,

Просмотреть файл

@ -1,7 +1,7 @@
{
"manifestVersion": 1,
"id": "workitem-feature-timeline-extension",
"version": "0.0.307",
"version": "0.0.308",
"name": "Feature timeline and Epic Roadmap",
"description": "Feature timeline of your in-progress features.",
"publisher": "ms-devlabs",