- { getDate(props.image) } ago
+ { getDate(props.image) }
-
\ No newline at end of file
+
diff --git a/src/components/tag-list/image-tag.riot b/src/components/tag-list/image-tag.riot
index ad5dc62..c7e23ad 100644
--- a/src/components/tag-list/image-tag.riot
+++ b/src/components/tag-list/image-tag.riot
@@ -21,11 +21,11 @@
onMounted(props) {
props.image.on('sha256', (sha256) => {
this.update({
- sha256: sha256.substring(0, 19)
+ sha256: sha256 && sha256.substring(0, 19),
});
});
props.image.trigger('get-sha256');
- }
- }
+ },
+ };
-
\ No newline at end of file
+
diff --git a/src/components/tag-list/tag-history-button.riot b/src/components/tag-list/tag-history-button.riot
index 77ca9a6..8595f18 100644
--- a/src/components/tag-list/tag-history-button.riot
+++ b/src/components/tag-list/tag-history-button.riot
@@ -15,16 +15,34 @@ You should have received a copy of the GNU Affero General Public License
along with this program. If not, see