Skip to content

Commit

Permalink
fix: Fix Display of Active Actions anonymously - MEED-7432 - Meeds-io…
Browse files Browse the repository at this point in the history
…/meeds#2366 (#1729)

Prior to this change, when displaying the Actions widget in public page
anonymously, the actions list isn't displayed. This is due to the fact
that it relies on a variable computed only in space context to know
whether the actions list are retrieved or not. This change will use the
right variable to know whether the Actions widget has a list of actions
or not.
  • Loading branch information
boubaker authored and exo-swf committed Sep 6, 2024
1 parent a524906 commit a3df49e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export default {
isHiddenWidget() {
return this.isHiddenWhenEmpty
&& !this.loading
&& !this.activeRulesSize;
&& !this.hasValidRules;
},
sortBy() {
return this.$root.rulesSortBy || (this.spaceId?.length && 'score' || 'createdDate');
Expand Down

0 comments on commit a3df49e

Please sign in to comment.