chore: Remove RPCAction.Count as default valid action on frontend (Only available for users)

This commit is contained in:
Tom Moor
2023-12-29 10:18:34 -05:00
parent 5d2a75c8e9
commit cb40e285f4
4 changed files with 12 additions and 18 deletions

View File

@@ -3,16 +3,9 @@ import orderBy from "lodash/orderBy";
import { action, computed } from "mobx";
import Comment from "~/models/Comment";
import RootStore from "./RootStore";
import Store, { RPCAction } from "./base/Store";
import Store from "./base/Store";
export default class CommentsStore extends Store<Comment> {
actions = [
RPCAction.List,
RPCAction.Create,
RPCAction.Update,
RPCAction.Delete,
];
constructor(rootStore: RootStore) {
super(rootStore, Comment);
}