Skip to content

Commit

Permalink
Merge pull request #4083 from inception-project/feature/4040-Ability-…
Browse files Browse the repository at this point in the history
…to-store-preferences-from-client-side-code

#4040 - Ability to store preferences from client-side code
  • Loading branch information
reckart authored Jul 3, 2023
2 parents e64f3a8 + 18ea7aa commit ed84a97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ protected void onConfigure()
"ajaxEndpointUrl", diamBehavior.getCallbackUrl(), //
"wsEndpointUrl", constructEndpointUrl(), //
"topicChannel", viewport.getTopic(), //
"pinnedGroups", managerPrefs.getPinnedGroups(), "userPreferencesKey",
userPreferencesKey);
"pinnedGroups", managerPrefs.getPinnedGroups(), //
"userPreferencesKey", userPreferencesKey);

// model will be added as props to Svelte component
setDefaultModel(Model.ofMap(properties));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

export interface AnnotationEditorProperties {
editorFactory: string
editorFactoryId: string
scriptSources: ReadonlyArray<string>
stylesheetSources: ReadonlyArray<string>
diamAjaxCallbackUrl: string
Expand Down

0 comments on commit ed84a97

Please sign in to comment.