Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TGA sign off event listener #4339

Merged

Conversation

thecalcc
Copy link
Contributor

TGA-59

@@ -32,6 +32,12 @@ export function AuthoringContainerDirective(authoringWorkspace: AuthoringWorkspa
scope: {},
require: 'sdAuthoringContainer',
link: function(scope, elem, attrs, ctrl) {
scope.$on('author_approval:updated', (event) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a comment for the record that it's handled through resource:updated event in authoring-react and this one is only needed for angular-based authoring? You should also test that it actually works on authoring react too even if it's not used yet.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// Needed for authoring Angular.

"Only needed for authoring Angular." would be better phrasing.

@thecalcc thecalcc changed the base branch from develop to hotfix/2.6.3 October 11, 2023 05:36
@thecalcc thecalcc merged commit 9194901 into superdesk:hotfix/2.6.3 Oct 11, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants