From b1883f4d7c7013c6efa4ac856d2f9a267b36558c Mon Sep 17 00:00:00 2001 From: MariaAga Date: Mon, 20 Nov 2023 13:33:03 +0100 Subject: [PATCH] Fixes #36932 - Import buffer in globalIdHelpers.js --- webpack/assets/javascripts/react_app/common/globalIdHelpers.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack/assets/javascripts/react_app/common/globalIdHelpers.js b/webpack/assets/javascripts/react_app/common/globalIdHelpers.js index 20204ca16ac..53854715bf4 100644 --- a/webpack/assets/javascripts/react_app/common/globalIdHelpers.js +++ b/webpack/assets/javascripts/react_app/common/globalIdHelpers.js @@ -6,6 +6,7 @@ * The GlobalID contains a version number, model class and the id itself, put * together into a single string and encoded as base64. */ +import { Buffer } from 'buffer'; const idSeparator = '-'; const versionSeparator = ':';