fix(hide-columns): no hide-columns in tail.datetime

This commit is contained in:
Sarah Vaupel 2020-01-08 17:35:34 +01:00 committed by Gregor Kleen
parent b03c10f098
commit 03bcf56487

View File

@ -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;
}