misc: remove hardcoded service slug in card schema lookup (#87328)
gitea/combo/pipeline/head This commit looks good
Details
gitea/combo/pipeline/head This commit looks good
Details
This commit is contained in:
parent
03361bfbb9
commit
ce423b6620
|
@ -1074,7 +1074,7 @@ Card_cell_custom.prototype = {
|
|||
this.grid_wrapper = this.cell.querySelector(selector + '.wcs-cards-cell--grid-cells');
|
||||
},
|
||||
init: function() {
|
||||
const cardSchema_el = this.cell.querySelector('[id*="card-schema-eservices"]');
|
||||
const cardSchema_el = this.cell.querySelector('[id*="card-schema-"]');
|
||||
this.cardSchema = cardSchema_el ? JSON.parse(cardSchema_el.innerText) : undefined;
|
||||
|
||||
if (!this.cardSchema) {
|
||||
|
|
Loading…
Reference in New Issue