mirror of
https://github.com/discourse/DiscoTOC.git
synced 2026-09-18 00:02:12 -04:00
DEV: Update linting (#115)
This commit is contained in:
@@ -10,6 +10,7 @@ import TocToggle from "../components/toc-toggle";
|
||||
|
||||
export default class TocTimeline extends Component {
|
||||
@service tocProcessor;
|
||||
|
||||
@tracked
|
||||
isTocVisible = localStorage.getItem("tocVisibility") === "true" || true;
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ import { slugify } from "discourse/lib/utilities";
|
||||
|
||||
export default class TocProcessor extends Service {
|
||||
@service router;
|
||||
|
||||
@tracked hasTOC = false;
|
||||
@tracked postContent = null;
|
||||
@tracked postID = null;
|
||||
|
||||
Reference in New Issue
Block a user