fix(hide-columns): no hide-columns in tail.datetime
This commit is contained in:
parent
b03c10f098
commit
03bcf56487
@ -46,8 +46,8 @@ export class HideColumns {
|
|||||||
throw new Error('Hide Columns utility cannot be setup without an element!');
|
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
|
// 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')) {
|
if (element.closest('[uw-modal], .async-form__response, .tail-datetime-calendar')) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user