diff --git a/hal-core/resources/web/js/hal.js b/hal-core/resources/web/js/hal.js index 82a97de7..e731b2e7 100644 --- a/hal-core/resources/web/js/hal.js +++ b/hal-core/resources/web/js/hal.js @@ -51,6 +51,9 @@ $.fn.relTimestamp = function() { // Converts all timestamps to human readable time and date function getRelTimestamp(timestamp) { + if (timestamp == null) + return ""; + let timestampNow = Date.now(); let timeDiff = timestampNow - timestamp; diff --git a/hal-core/resources/web/js/vue/components/EventActionComponent.js b/hal-core/resources/web/js/vue/components/EventActionComponent.js index 79df9d93..77550e31 100644 --- a/hal-core/resources/web/js/vue/components/EventActionComponent.js +++ b/hal-core/resources/web/js/vue/components/EventActionComponent.js @@ -17,8 +17,6 @@ export default {
-