mirror of
https://github.com/discourse/discourse.git
synced 2025-01-30 05:05:15 +08:00
DEV: Resolve observes
deprecation in full-page-search (#28196)
This commit is contained in:
parent
8b61aafe74
commit
87450f677b
|
@ -3,6 +3,7 @@ import { action, computed } from "@ember/object";
|
||||||
import { gt, or } from "@ember/object/computed";
|
import { gt, or } from "@ember/object/computed";
|
||||||
import { service } from "@ember/service";
|
import { service } from "@ember/service";
|
||||||
import { isEmpty } from "@ember/utils";
|
import { isEmpty } from "@ember/utils";
|
||||||
|
import { observes } from "@ember-decorators/object";
|
||||||
import { Promise } from "rsvp";
|
import { Promise } from "rsvp";
|
||||||
import { ajax } from "discourse/lib/ajax";
|
import { ajax } from "discourse/lib/ajax";
|
||||||
import BulkSelectHelper from "discourse/lib/bulk-select-helper";
|
import BulkSelectHelper from "discourse/lib/bulk-select-helper";
|
||||||
|
@ -22,10 +23,7 @@ import { escapeExpression } from "discourse/lib/utilities";
|
||||||
import { scrollTop } from "discourse/mixins/scroll-top";
|
import { scrollTop } from "discourse/mixins/scroll-top";
|
||||||
import Category from "discourse/models/category";
|
import Category from "discourse/models/category";
|
||||||
import Composer from "discourse/models/composer";
|
import Composer from "discourse/models/composer";
|
||||||
import discourseComputed, {
|
import discourseComputed, { bind } from "discourse-common/utils/decorators";
|
||||||
bind,
|
|
||||||
observes,
|
|
||||||
} from "discourse-common/utils/decorators";
|
|
||||||
import I18n from "discourse-i18n";
|
import I18n from "discourse-i18n";
|
||||||
|
|
||||||
const SortOrders = [
|
const SortOrders = [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user