2017-10-30 12:38:01 +03:00
|
|
|
import Controller, {inject as controller} from '@ember/controller';
|
|
|
|
import {inject as service} from '@ember/service';
|
2022-02-01 12:34:03 +03:00
|
|
|
export default class PostsLoadingController extends Controller {
|
2022-10-07 20:39:34 +03:00
|
|
|
@controller('posts') postsController;
|
2022-02-01 12:34:03 +03:00
|
|
|
|
2022-02-01 20:03:45 +03:00
|
|
|
@service session;
|
|
|
|
@service ui;
|
2022-02-03 22:04:43 +03:00
|
|
|
@service config;
|
2022-02-01 20:59:20 +03:00
|
|
|
|
2022-10-07 20:39:34 +03:00
|
|
|
get availableTypes() {
|
|
|
|
return this.postsController.availableTypes;
|
|
|
|
}
|
2022-02-01 12:34:03 +03:00
|
|
|
|
2022-10-07 20:39:34 +03:00
|
|
|
get selectedType() {
|
|
|
|
return this.postsController.selectedType;
|
|
|
|
}
|
2022-02-01 12:34:03 +03:00
|
|
|
|
2022-10-07 20:39:34 +03:00
|
|
|
get selectedVisibility() {
|
|
|
|
return this.postsController.selectedVisibility;
|
|
|
|
}
|
2022-02-01 12:34:03 +03:00
|
|
|
|
2022-10-07 20:39:34 +03:00
|
|
|
get availableVisibilities() {
|
|
|
|
return this.postsController.availableVisibilities;
|
|
|
|
}
|
2022-02-01 12:34:03 +03:00
|
|
|
|
2022-10-07 20:39:34 +03:00
|
|
|
get availableTags() {
|
|
|
|
return this.postsController.availableTags;
|
|
|
|
}
|
2022-02-01 12:34:03 +03:00
|
|
|
|
2022-10-07 20:39:34 +03:00
|
|
|
get selectedTag() {
|
|
|
|
return this.postsController.selectedTag;
|
|
|
|
}
|
2022-02-01 12:34:03 +03:00
|
|
|
|
2022-10-07 20:39:34 +03:00
|
|
|
get availableAuthors() {
|
|
|
|
return this.postsController.availableAuthors;
|
|
|
|
}
|
2022-02-01 12:34:03 +03:00
|
|
|
|
2022-10-07 20:39:34 +03:00
|
|
|
get selectedAuthor() {
|
|
|
|
return this.postsController.selectedAuthor;
|
|
|
|
}
|
2022-02-01 12:34:03 +03:00
|
|
|
|
2022-10-07 20:39:34 +03:00
|
|
|
get availableOrders() {
|
|
|
|
return this.postsController.availableOrders;
|
|
|
|
}
|
2022-02-01 12:34:03 +03:00
|
|
|
|
2022-10-07 20:39:34 +03:00
|
|
|
get selectedOrder() {
|
|
|
|
return this.postsController.selectedOrder;
|
|
|
|
}
|
2022-02-01 12:34:03 +03:00
|
|
|
}
|