Skip to content

Commit

Permalink
Remove image id prefix for image detail page
Browse files Browse the repository at this point in the history
  • Loading branch information
tobegit3hub committed Dec 26, 2016
1 parent 03b8c16 commit fafc484
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions static/js/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,9 @@ seagullControllers.controller('ImageController',
}
*/

/* Remove image id prefix from "sha256:7b550cc136fa992081e4ee02f8afbd17087ad9921ccedf0409ff7807c990643d" to "7b550cc136fa992081e4ee02f8afbd17087ad9921ccedf0409ff7807c990643d" */
image.Id = image.Id.substring(7)

$scope.image = image;
});

Expand Down

0 comments on commit fafc484

Please sign in to comment.