From e631d09df3acb29b1ef9857967aa6630507e8f71 Mon Sep 17 00:00:00 2001 From: Julien Wajsberg Date: Fri, 28 Sep 2018 19:22:43 +0200 Subject: [PATCH] Do something with the is_expired column in the view --- .../web/js_src/components/flatstableline.vue | 2 +- flatisfy/web/js_src/views/details.vue | 1 + flatisfy/web/js_src/views/home.vue | 38 +++++++++++++++++-- 3 files changed, 36 insertions(+), 5 deletions(-) diff --git a/flatisfy/web/js_src/components/flatstableline.vue b/flatisfy/web/js_src/components/flatstableline.vue index dd5f979..fd48224 100644 --- a/flatisfy/web/js_src/components/flatstableline.vue +++ b/flatisfy/web/js_src/components/flatstableline.vue @@ -11,7 +11,7 @@ - [{{ flat.id.split("@")[1] }}] {{ flat.title }} + [{{ flat.id.split("@")[1] }}] {{ flat.is_expired ? "[EXPIRED]" : null }} {{ flat.title }}