Merge pull request #2531 from mhomol/tour-wp-order
Tour Sample quick update - part order
This commit is contained in:
commit
6b2e3ae914
|
@ -30,3 +30,7 @@ obj
|
|||
|
||||
# Styles Generated Code
|
||||
*.scss.ts
|
||||
# .CER Certificates
|
||||
*.cer
|
||||
# .PEM Certificates
|
||||
*.pem
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"A SPFx WebPart using PnP/PnPjs, @pnp/spfx-property-controls and ReactTourJS."
|
||||
],
|
||||
"creationDateTime": "2019-11-23",
|
||||
"updateDateTime": "2019-11-23",
|
||||
"updateDateTime": "2022-04-06",
|
||||
"products": [
|
||||
"SharePoint"
|
||||
],
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue