@omnia/wcm 7.10.0-preview.13 → 7.10.0-preview.15
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.
|
@@ -264,6 +264,22 @@ export declare module PublishingAppLocalization {
|
|
|
264
264
|
VariationAuthor: string;
|
|
265
265
|
Content: string;
|
|
266
266
|
};
|
|
267
|
+
VariationNotification: {
|
|
268
|
+
VariationAuthor: {
|
|
269
|
+
NewPage: {
|
|
270
|
+
Subject: string;
|
|
271
|
+
Content: string;
|
|
272
|
+
};
|
|
273
|
+
NewVersion: {
|
|
274
|
+
Subject: string;
|
|
275
|
+
Content: string;
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
PageProperty: {
|
|
279
|
+
Subject: string;
|
|
280
|
+
Content: string;
|
|
281
|
+
};
|
|
282
|
+
};
|
|
267
283
|
InvitationOfCoAuthors: {
|
|
268
284
|
Subject: string;
|
|
269
285
|
Body: string;
|
|
@@ -103,6 +103,9 @@ class VariationSecurityResourceEvaluator {
|
|
|
103
103
|
if (pageId) {
|
|
104
104
|
yield this.pagesStore.actions.ensurePages.dispatch([pageId]);
|
|
105
105
|
const page = this.pagesStore.getters.getPage(pageId);
|
|
106
|
+
if (!page) {
|
|
107
|
+
return "";
|
|
108
|
+
}
|
|
106
109
|
return this.getResourceName(page.securityResourceId.toString(), variationId.toString());
|
|
107
110
|
}
|
|
108
111
|
return "";
|