Skip to content

Commit

Permalink
fix(package move): Fix the show of contextual menu for published item…
Browse files Browse the repository at this point in the history
…s moved along with parent package (SDFID-372)
  • Loading branch information
Ioan-Vasile Pocol authored and petrjasek committed Nov 20, 2018
1 parent 646019c commit 02f9124
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ export function AuthoringService($q, $location, api, lock, autosave, confirm, pr
if (self.isPublished(currentItem)) {
// if not the last published version
if (angular.isDefined(item.archive_item) &&
item._current_version !== item.archive_item._current_version) {
item._current_version !== item.archive_item._current_version && item.operation !== 'move') {
return angular.extend({}, helpers.DEFAULT_ACTIONS);
}

Expand Down

0 comments on commit 02f9124

Please sign in to comment.