X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/db791674691062c26e0073361ab731ed5c772713..refs/heads/development:/resources/js/components/optional-input.js diff --git a/resources/js/components/optional-input.js b/resources/js/components/optional-input.js index cc429c991..1b133047d 100644 --- a/resources/js/components/optional-input.js +++ b/resources/js/components/optional-input.js @@ -1,7 +1,8 @@ -import {onSelect} from "../services/dom"; -import {Component} from "./component"; +import {onSelect} from '../services/dom.ts'; +import {Component} from './component'; export class OptionalInput extends Component { + setup() { this.removeButton = this.$refs.remove; this.showButton = this.$refs.show; @@ -24,4 +25,4 @@ export class OptionalInput extends Component { }); } -} \ No newline at end of file +}