1
0
mirror of synced 2026-07-20 10:15:08 +00:00

Import getURL to fix deprecation warnings (#52)

This commit is contained in:
Mark VanLandingham
2020-10-06 20:58:52 -05:00
committed by GitHub
parent 386635d693
commit d643cf742e
2 changed files with 2 additions and 0 deletions
@@ -3,6 +3,7 @@ import { ajax } from "discourse/lib/ajax";
import getURL from "discourse-common/lib/get-url";
import Badge from "discourse/models/badge";
import { default as computed } from "discourse-common/utils/decorators";
import getURL from "discourse-common/lib/get-url";
function randomIdShort() {
return "xxxxxxxx".replace(/[xy]/g, () => {
@@ -5,6 +5,7 @@ import {
} from "discourse-common/utils/decorators";
import getURL from "discourse-common/lib/get-url";
import RestModel from "discourse/models/rest";
import getURL from "discourse-common/lib/get-url";
const Query = RestModel.extend({
dirty: false,