DEV: Update import paths following core fix (#56)

https://github.com/discourse/discourse/pull/23148
This commit is contained in:
David Taylor 2023-08-18 18:30:20 +01:00 committed by GitHub
parent 0c7b09886c
commit 8599bfcaff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ import { create } from "virtual-dom";
import { ajax } from "discourse/lib/ajax"; import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error"; import { popupAjaxError } from "discourse/lib/ajax-error";
import { parseAsync } from "discourse/lib/text"; import { parseAsync } from "discourse/lib/text";
import { tokenRange } from "../discourse-table-builder/lib/utilities"; import { tokenRange } from "../../discourse-table-builder/lib/utilities";
export default apiInitializer("0.11.1", (api) => { export default apiInitializer("0.11.1", (api) => {
function createButton() { function createButton() {

View File

@ -4,7 +4,7 @@ import {
arrayToTable, arrayToTable,
findTableRegex, findTableRegex,
tokenRange, tokenRange,
} from "../discourse-table-builder/lib/utilities"; } from "../../discourse-table-builder/lib/utilities";
import Component from "@glimmer/component"; import Component from "@glimmer/component";
import { ajax } from "discourse/lib/ajax"; import { ajax } from "discourse/lib/ajax";
@ -12,7 +12,7 @@ import { popupAjaxError } from "discourse/lib/ajax-error";
import I18n from "I18n"; import I18n from "I18n";
import { schedule } from "@ember/runloop"; import { schedule } from "@ember/runloop";
import { tracked } from "@glimmer/tracking"; import { tracked } from "@glimmer/tracking";
import { localeMapping } from "../discourse-table-builder/lib/locale-mapping"; import { localeMapping } from "../../discourse-table-builder/lib/locale-mapping";
export default class SpreadsheetEditor extends Component { export default class SpreadsheetEditor extends Component {
@tracked showEditReason = false; @tracked showEditReason = false;