Skip to content

Commit

Permalink
Прокидывание стилей
Browse files Browse the repository at this point in the history
  • Loading branch information
Владислав Нефедов authored and Владислав Нефедов committed Jun 13, 2024
1 parent 42a0501 commit 9360506
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/frontend/components/Schema/DHSchema/DHSchema.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@
const queryID = message.data.queryID;
listeners[queryID] && listeners[queryID](message.data);
};
this.make = (grid, nodes, links, trackWidth, distance, direction, height, symbols, availableWidth, wrap, isDebug) => {
this.make = (grid, styles, nodes, links, trackWidth, distance, direction, height, symbols, availableWidth, wrap, isDebug) => {
return new Promise((success, reject) => {
const params = {
grid, nodes, links, trackWidth, distance, direction, height, symbols, wrap, isDebug
grid, styles, nodes, links, trackWidth, distance, direction, height, symbols, wrap, isDebug
};
const hash = window.localStorage ? md5(JSON.stringify(params)) : null;
const cacheKey = `SmartAnts.cache.v${CACHE_VERSION}.${hash}`;
Expand Down Expand Up @@ -620,6 +620,7 @@
this.isBuilding++;
Graph.make(
this.data.config?.grid || {},
this.data.config?.styles || {},
nodes || this.data.nodes || {},
links || this.data.links || [],
trackWidth,
Expand Down

0 comments on commit 9360506

Please sign in to comment.