@case-framework/survey-editor-ui 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50232,11 +50232,11 @@ function Gae() {
50232
50232
  },
50233
50233
  selectedLocale: "en",
50234
50234
  userMutationsLocked: !1,
50235
- setEditor: (n, r) => {
50235
+ setEditor: (n, r, i = "en") => {
50236
50236
  e({
50237
50237
  sessionId: n,
50238
50238
  editor: r,
50239
- selectedLocale: r?.survey.locales[0] ?? "en",
50239
+ selectedLocale: r?.survey.locales[0] ?? i,
50240
50240
  changeTick: t()
50241
50241
  });
50242
50242
  },
@@ -50501,7 +50501,7 @@ var Yae = ({ initialEditorState: e, initialSessionId: t, fallbackLocale: n = "en
50501
50501
  O,
50502
50502
  T
50503
50503
  ]), L = ne.coreRegistry, R = p((e, t) => {
50504
- M(e, _e.fromJson(t, L));
50504
+ M(e, _e.fromJson(t, L), n.trim() || "en");
50505
50505
  });
50506
50506
  f(() => {
50507
50507
  if (!e) return;