Ghost/ghost/admin/app/controllers/posts-loading.js

50 lines
1.1 KiB
JavaScript
Raw Normal View History

import Controller, {inject as controller} from '@ember/controller';
import {inject as service} from '@ember/service';
export default class PostsLoadingController extends Controller {
@controller('posts') postsController;
@service session;
@service ui;
@service config;
get availableTypes() {
return this.postsController.availableTypes;
}
get selectedType() {
return this.postsController.selectedType;
}
get selectedVisibility() {
return this.postsController.selectedVisibility;
}
get availableVisibilities() {
return this.postsController.availableVisibilities;
}
get availableTags() {
return this.postsController.availableTags;
}
get selectedTag() {
return this.postsController.selectedTag;
}
get availableAuthors() {
return this.postsController.availableAuthors;
}
get selectedAuthor() {
return this.postsController.selectedAuthor;
}
get availableOrders() {
return this.postsController.availableOrders;
}
get selectedOrder() {
return this.postsController.selectedOrder;
}
}