FIX: Allow adding TOC when editing first post (#20)

This commit is contained in:
Penar Musaraj
2022-01-18 09:52:51 -05:00
committed by GitHub
parent 20366c671d
commit 86b9960263
2 changed files with 20 additions and 2 deletions
@@ -38,7 +38,7 @@ export default {
action: "insertDtoc",
icon: "align-left",
label: themePrefix("insert_table_of_contents"),
condition: controller.get("model.creatingTopic"),
condition: controller.get("model.topicFirstPost"),
};
});
}