You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/packages/documents/documents/modals/publish-with-descendants-modal/document-publish-with-descendants-modal.element.ts
// [NL]: I think for now lets make it an active choice to select the languages. If you just made them, they would be selected. So it just to underline the act of actually selecting these languages.
49
+
/*
46
50
this._options.forEach((variant) => {
47
51
if (variant.language?.isMandatory) {
48
-
this.#selectionManager.select(variant.unique);
52
+
selected.push(variant.unique);
49
53
}
50
54
});
55
+
*/
56
+
57
+
this.#selectionManager.setSelection(selected);
58
+
59
+
this.observe(
60
+
this.#selectionManager.selection,
61
+
(selection: Array<string>)=>{
62
+
if(!this._options&&!selection)return;
63
+
64
+
//Getting not published mandatory options — the options that are mandatory and not currently published.
0 commit comments