File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/lib/PnP.Framework/Provisioning/ObjectHandlers Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1039,10 +1039,10 @@ private static PnPCore.ControlFlexLayoutPosition GetControlFlexLayoutPosition(JO
1039
1039
{
1040
1040
return new PnPCore . ControlFlexLayoutPosition
1041
1041
{
1042
- XPos = json [ "flexibleLayoutPosition" ] [ "lg" ] [ "x" ] ? . Value < double > ( ) ?? 0 ,
1043
- YPos = json [ "flexibleLayoutPosition" ] [ "lg" ] [ "y" ] ? . Value < double > ( ) ?? 0 ,
1044
- Width = json [ "flexibleLayoutPosition" ] [ "lg" ] [ "w" ] ? . Value < double > ( ) ?? 0 ,
1045
- Height = json [ "flexibleLayoutPosition" ] [ "lg" ] [ "h" ] ? . Value < double > ( ) ?? 0 ,
1042
+ XPos = json [ "flexibleLayoutPosition" ] [ "lg" ] [ "x" ] ? . Value < int > ( ) ?? 0 ,
1043
+ YPos = json [ "flexibleLayoutPosition" ] [ "lg" ] [ "y" ] ? . Value < int > ( ) ?? 0 ,
1044
+ Width = json [ "flexibleLayoutPosition" ] [ "lg" ] [ "w" ] ? . Value < int > ( ) ?? 0 ,
1045
+ Height = json [ "flexibleLayoutPosition" ] [ "lg" ] [ "h" ] ? . Value < int > ( ) ?? 0 ,
1046
1046
WpGroupId = Guid . TryParse ( json [ "flexibleLayoutPosition" ] [ "groupId" ] ? . Value < string > ( ) , out Guid wpgroupId ) ? wpgroupId : null
1047
1047
} ;
1048
1048
}
You can’t perform that action at this time.
0 commit comments