From 34057def3c9332df24829e14bb7d88b0cf35d229 Mon Sep 17 00:00:00 2001 From: tchbla Date: Mon, 18 Dec 2023 12:01:10 +0100 Subject: [PATCH] fix intendation --- src/components/create.vue | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/components/create.vue b/src/components/create.vue index 28ae89e..c9af529 100644 --- a/src/components/create.vue +++ b/src/components/create.vue @@ -318,16 +318,16 @@ export default { getExpiryLabel(duration) { if (duration >= 86400) { - text = this.$tc('expire-n-days', Math.round(duration / 86400)) - } else if (duration >= 3600) { - text = this.$tc('expire-n-hours', Math.round(duration / 3600)) - } else if (duration >= 60) { - text = this.$tc('expire-n-minutes', Math.round(duration / 60)) - } else if (duration > 0) { - text = this.$tc('expire-n-seconds', duration) - } else { - text = this.$t('never') - } + text = this.$tc('expire-n-days', Math.round(duration / 86400)) + } else if (duration >= 3600) { + text = this.$tc('expire-n-hours', Math.round(duration / 3600)) + } else if (duration >= 60) { + text = this.$tc('expire-n-minutes', Math.round(duration / 60)) + } else if (duration > 0) { + text = this.$tc('expire-n-seconds', duration) + } else { + text = this.$t('text-never') + } return text },