grist: put grist blocks into tags as well
This commit is contained in:
@ -5,6 +5,12 @@ ServerEvents.tags('item', event => {
|
|||||||
event.add(tagName, grist.id());
|
event.add(tagName, grist.id());
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
global.Grist.forEachBlock(grist => {
|
||||||
|
grist.tags().forEach(tagName => {
|
||||||
|
event.add(tagName, grist.id());
|
||||||
|
});
|
||||||
|
});
|
||||||
/*global.GRIST_ELEMENTS.forEach(element => {
|
/*global.GRIST_ELEMENTS.forEach(element => {
|
||||||
global.GRIST_TIERS.forEach(tier => {
|
global.GRIST_TIERS.forEach(tier => {
|
||||||
event.add(`kubejs:grist/${element}/${tier}`, `kubejs:grist_${element}_${tier}`)
|
event.add(`kubejs:grist/${element}/${tier}`, `kubejs:grist_${element}_${tier}`)
|
||||||
|
Reference in New Issue
Block a user