Merge branch 'develop' of https://github.com/ThaumRystra/DiceCloud into develop
This commit is contained in:
@@ -103,7 +103,7 @@ function subDocsExist(prop, key) {
|
||||
|
||||
export function removeEmptyCalculations(prop) {
|
||||
prop._computationDetails.emptyCalculations.forEach(calcObj => {
|
||||
if (!calcObj.effects?.length) {
|
||||
if (!calcObj.effectIds?.length && !calcObj.proficiencyIds?.length) {
|
||||
unset(prop, calcObj._key);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user