Skip to content

Commit fafc484

Browse files
committed
Remove image id prefix for image detail page
1 parent 03b8c16 commit fafc484

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

static/js/controllers.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,9 @@ seagullControllers.controller('ImageController',
715715
}
716716
*/
717717

718+
/* Remove image id prefix from "sha256:7b550cc136fa992081e4ee02f8afbd17087ad9921ccedf0409ff7807c990643d" to "7b550cc136fa992081e4ee02f8afbd17087ad9921ccedf0409ff7807c990643d" */
719+
image.Id = image.Id.substring(7)
720+
718721
$scope.image = image;
719722
});
720723

0 commit comments

Comments
 (0)