Fixed publications of spell library
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
.spell-library-dialog .spell.selected {
|
||||
background-color: #e4e4e4;
|
||||
}
|
||||
|
||||
.spell-library-dialog .category-header {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.spell-library-dialog .category-header iron-icon {
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.spell-library-dialog .category-header iron-icon.open {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.spell-library-dialog table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.spell-library-dialog .library-spell td {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ Template.spellLibraryDialog.helpers({
|
||||
spellsInCategory(categoryKey){
|
||||
return LibrarySpells.find({
|
||||
library: "SRDLibraryGA3XWsd",
|
||||
"settings.category": categoryKey,
|
||||
level: categoryKey,
|
||||
}, {
|
||||
sort: {name: 1},
|
||||
});
|
||||
|
||||
@@ -16,7 +16,7 @@ Meteor.publish("standardLibraryItems", function(categoryKey){
|
||||
});
|
||||
|
||||
Meteor.publish("standardLibrarySpells", function(level){
|
||||
return LibraryItems.find({
|
||||
return LibrarySpells.find({
|
||||
library: {$in: standardLibraryIds},
|
||||
level,
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user