mirror of
https://github.com/discourse/DiscoTOC.git
synced 2025-02-16 08:24:49 +00:00
DEV: Fix compatibility with styleguide (#38)
This commit is contained in:
parent
5d69a72200
commit
a309e6406d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user