From ee1bc676966895b9ddf1add2f921c30d94c7ef41 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Sat, 16 Nov 2019 22:56:19 +0100 Subject: [PATCH] Add Basic Story For SearchInput I had to remove `| dateTime('dd.MM.yyyy')` in line 61 of the vue file due to issues with $i18n which surely can be easyly solved. The idea is, that `results` is an object which contains the keys `posts` and `users`. The values are arrays with the search results. --- webapp/components/SearchInput/SearchInput.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/components/SearchInput/SearchInput.vue b/webapp/components/SearchInput/SearchInput.vue index b1b967355..61e1a8649 100644 --- a/webapp/components/SearchInput/SearchInput.vue +++ b/webapp/components/SearchInput/SearchInput.vue @@ -58,7 +58,8 @@ {{ option.author.name | truncate(32) }} - - {{ option.createdAt | dateTime('dd.MM.yyyy') }} + {{ option.createdAt }} +