Skip to content

Commit 14a632b

Browse files
committed
fixed issue caused by excel chars per cell limit by truncating exported cells to 32767 characters
1 parent 0165d5f commit 14a632b

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

src/app/component/mapping/mapping.component.html

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -159,24 +159,24 @@
159159
<th>ISO 27001:2022</th>
160160
</tr>
161161
<tr *ngFor="let item of allMappingDataSortedByISO">
162-
<td>{{ item.dimension }}</td>
163-
<td>{{ item.subDimension }}</td>
164-
<td>{{ item.taskName }}</td>
165-
<td>{{ item.description }}</td>
166-
<td>{{ item.risk }}</td>
167-
<td>{{ item.measure }}</td>
168-
<td>{{ item.knowledge }}</td>
169-
<td>{{ item.resources }}</td>
170-
<td>{{ item.time }}</td>
171-
<td>{{ item.usefulness }}</td>
172-
<td>{{ item.implementation }}</td>
173-
<td>{{ item.assessment }}</td>
174-
<td>{{ item.evidence }}</td>
175-
<td>{{ item.comments }}</td>
176-
<td>{{ item.dependsOn }}</td>
177-
<td>{{ item.samm2 }}</td>
178-
<td>{{ item.ISO }}</td>
179-
<td>{{ item.ISO22 }}</td>
162+
<td>{{ item.dimension | slice:0:32766 }}</td>
163+
<td>{{ item.subDimension | slice:0:32766 }}</td>
164+
<td>{{ item.taskName | slice:0:32766 }}</td>
165+
<td>{{ item.description | slice:0:32766 }}</td>
166+
<td>{{ item.risk | slice:0:32766 }}</td>
167+
<td>{{ item.measure | slice:0:32766 }}</td>
168+
<td>{{ item.knowledge | slice:0:32766 }}</td>
169+
<td>{{ item.resources | slice:0:32766 }}</td>
170+
<td>{{ item.time | slice:0:32766 }}</td>
171+
<td>{{ item.usefulness | slice:0:32766 }}</td>
172+
<td>{{ item.implementation | slice:0:32766 }}</td>
173+
<td>{{ item.assessment | slice:0:32766 }}</td>
174+
<td>{{ item.evidence | slice:0:32766 }}</td>
175+
<td>{{ item.comments | slice:0:32766 }}</td>
176+
<td>{{ item.dependsOn | slice:0:32766 }}</td>
177+
<td>{{ item.samm2 | slice:0:32766 }}</td>
178+
<td>{{ item.ISO | slice:0:32766 }}</td>
179+
<td>{{ item.ISO22 | slice:0:32766 }}</td>
180180
</tr>
181181
</table>
182182
</div>

0 commit comments

Comments
 (0)