mirror of
https://github.com/discourse/DiscoTOC.git
synced 2026-09-18 08:02:14 -04:00
DEV: Fix compatibility with styleguide (#38)
This commit is contained in:
@@ -15,7 +15,7 @@ export default {
|
||||
(el, helper) => {
|
||||
if (helper) {
|
||||
const post = helper.getModel();
|
||||
if (post.post_number !== 1) {
|
||||
if (post?.post_number !== 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user