From 03bcf56487c5bf363bf6d9f595b735208e3fa87f Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Wed, 8 Jan 2020 17:35:34 +0100 Subject: [PATCH] fix(hide-columns): no hide-columns in tail.datetime --- frontend/src/utils/hide-columns/hide-columns.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/utils/hide-columns/hide-columns.js b/frontend/src/utils/hide-columns/hide-columns.js index 71a70028b..af01de392 100644 --- a/frontend/src/utils/hide-columns/hide-columns.js +++ b/frontend/src/utils/hide-columns/hide-columns.js @@ -46,8 +46,8 @@ export class HideColumns { throw new Error('Hide Columns utility cannot be setup without an element!'); } - // do not provide hide-column ability in tables inside modals or async forms with response - if (element.closest('[uw-modal], .async-form__response')) { + // do not provide hide-column ability in tables inside modals, async forms with response or tail.datetime instances + if (element.closest('[uw-modal], .async-form__response, .tail-datetime-calendar')) { return false; }