Skip to content
Snippets Groups Projects
Verified Commit a770f28b authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: check parameter #132

parent 60829f30
No related branches found
No related tags found
No related merge requests found
## 2024-01-22
- fix exception [#132](https://gitlab.schukai.com/oss/libraries/javascript/monster/issues/132)
## [3.55.0] - 2023-11-29 ## [3.55.0] - 2023-11-29
### Add Features ### Add Features
......
...@@ -62,9 +62,9 @@ ...@@ -62,9 +62,9 @@
<monster-collapse id="my-collapse" data-monster-role="filter-collapse"> <monster-collapse id="my-collapse" data-monster-role="filter-collapse">
<div class="flex"> <div class="flex">
<monster-tabs style="width: 100%" data-monster-option-classes-button="monster-theme-primary-2" id="filtertabs">
<div data-monster-button-label="Filter" data-monster-state="active" class="active"> <div data-monster-button-label="Filter" data-monster-state="active" class="active">
<monster-datatable-filter id="listfilter1" slot="filter" data-monster-option-storedconfig-selector="#filtertabs"> <monster-datatable-filter id="listfilter1" slot="filter">
<label data-monster-label="OID1" id="oid1" <label data-monster-label="OID1" id="oid1"
data-monster-template="${value | call:range:oid}"> data-monster-template="${value | call:range:oid}">
RANGE OID RANGE OID
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
</monster-datatable-filter> </monster-datatable-filter>
</div> </div>
<div data-monster-button-label="SDAFASDFDS"></div> <div data-monster-button-label="SDAFASDFDS"></div>
</monster-tabs>
</div> </div>
</monster-collapse> </monster-collapse>
......
...@@ -289,10 +289,6 @@ class DataTable extends CustomElement { ...@@ -289,10 +289,6 @@ class DataTable extends CustomElement {
} }
}).then(() => { }).then(() => {
const headers = this.getOption("headers", undefined);
console.log(headers);
try { try {
initGridAndStructs.call(this, config, headerOrderMap); initGridAndStructs.call(this, config, headerOrderMap);
} catch (error) { } catch (error) {
......
...@@ -220,7 +220,7 @@ function findElementWithIdUpwards(element, targetId) { ...@@ -220,7 +220,7 @@ function findElementWithIdUpwards(element, targetId) {
* @since 3.55.0 * @since 3.55.0
*/ */
function findElementWithSelectorUpwards(element, selector) { function findElementWithSelectorUpwards(element, selector) {
if (!element) { if (!element||!selector) {
return null; return null;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment