npm package diff
Package: @forge/jira-bridge
Versions: 0.34.1-next.0 - 0.34.1-next.1
File: package/out/ui-modifications/changesBuffer.js
Index: package/out/ui-modifications/changesBuffer.js
===================================================================
--- package/out/ui-modifications/changesBuffer.js
+++ package/out/ui-modifications/changesBuffer.js
@@ -12,9 +12,12 @@
getScreenTabsChanges() {
return this.screenTabsBuffer;
}
updateFieldProperty(fieldId, property, value) {
- this.formBuffer[fieldId] = Object.assign(Object.assign({}, this.formBuffer[fieldId]), { [property]: value });
+ this.formBuffer[fieldId] = {
+ ...this.formBuffer[fieldId],
+ [property]: value
+ };
}
updateScreenTabProperty(screenTabsData, tabId, property, value) {
const currentChanges = this.screenTabsBuffer.find((tab) => tab.id === tabId);
if (currentChanges) {