Skip to content

Commit

Permalink
fix default props
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed Jul 11, 2024
1 parent b95f1a3 commit 17d9ddc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ export function AuthoringDirective(
/**
* Create a new version
*/
$scope.save = function({reloadEditor3 = false}) {
$scope.save = function({reloadEditor3: reloadEditor3 = false}) {

Check failure on line 269 in scripts/apps/authoring/authoring/directives/AuthoringDirective.ts

View workflow job for this annotation

GitHub Actions / test

Destructuring assignment reloadEditor3 unnecessarily renamed
return authoring.save(
$scope.origItem,
$scope.item,
Expand Down

0 comments on commit 17d9ddc

Please sign in to comment.