Skip to content

Commit

Permalink
update for ocm v3
Browse files Browse the repository at this point in the history
  • Loading branch information
timomeister committed Nov 29, 2024
1 parent bbd5bbe commit f3265b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions snap.extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,6 @@ if (typeof TPP_SNAP !== "undefined") {
// trigger cache clean reload
TPP_SNAP.onRerenderView(() => location.reload(true));

TPP_SNAP.overrideDefaultButton("translate", {
isVisible: () => true,
isEnabled: () => true,
});

// reload frontend after default 'workflows' button execution to update page status
TPP_SNAP.overrideDefaultButton("workflows", {
afterExecute: async () => {
location.reload(true);
},
});

// ContentCreator browsing - 28.07.2020
TPP_SNAP.onRequestPreviewElement(async (previewId) => {
// map page attribute to SF community page identifier
Expand Down
2 changes: 1 addition & 1 deletion snap.extension.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f3265b7

Please sign in to comment.