displaying the web part order as well to assist with selecting the correct part to highlight in the tour

This commit is contained in:
Mike Homol 2022-04-06 09:38:53 -04:00
parent 972278fc23
commit c7ee935ac7
1 changed files with 2 additions and 2 deletions

View File

@ -72,11 +72,11 @@ export default class TourWebPart extends BaseClientSideWebPart<ITourWebPartProps
var wpName = {}
var wp = {};
if (control.data.webPartData != undefined) {
wpName = `sec[${section.order}] col[${column.order}] - ${control.data.webPartData.title}`;
wpName = `sec[${section.order}] col[${column.order}] wp[${control.order}] - ${control.data.webPartData.title}`;
wp = { text: wpName, key: control.data.webPartData.instanceId };
wpData.push(wp);
} else {
wpName = `sec[${section.order}] col[${column.order}] - "Webpart"`;
wpName = `sec[${section.order}] col[${column.order}] wp[${control.order}] - "Webpart"`;
wp = { text: wpName, key: control.data.id };
}
wpData.push(wp);