ali 2 năm trước cách đây
mục cha
commit
be24dc96b5

+ 1 - 1
src/components/Widgets/Content/AdminContentCreate/AdminContentCreate.vue

@@ -68,7 +68,7 @@ export default {
     return {
       mounted: false,
       entityLoading: false,
-      api: APIGateway.post.APIAdresses.base,
+      api: APIGateway.content.APIAdresses.base,
       entityIdKey: 'id',
       entityParamKey: 'id',
       showRouteName: 'AdminPanel.Post.Show',

+ 1 - 1
src/components/Widgets/Content/AdminContentList/AdminContentList.vue

@@ -57,7 +57,7 @@ export default {
   mixins: [mixinWidget],
   data: () => {
     return {
-      api: APIGateway.post.APIAdresses.base,
+      api: APIGateway.content.APIAdresses.base,
       tableKeys: {
         data: 'results',
         total: 'count',

+ 1 - 1
src/components/Widgets/Content/AdminContentShow/AdminContentShow.vue

@@ -55,7 +55,7 @@ export default {
     return {
       mounted: false,
       entityLoading: true,
-      api: APIGateway.post.APIAdresses.byId(postId),
+      api: APIGateway.content.APIAdresses.byId(postId),
       entityIdKey: 'id',
       entityParamKey: 'id',
       showRouteName: 'AdminPanel.Post.Show',