-
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ video.description.substring(0, 100) }}
+
+
+ {{ video.description }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
©2021 Ahmed Helal Ahmed. All rights reserved.
@@ -36,12 +111,14 @@
import {defineComponent} from 'vue'
import AppLayout from '@/Layouts/AppLayout.vue'
import {Inertia} from '@inertiajs/inertia'
+import Pagination from '@/Components/Pagination'
+import Button from "../../../Jetstream/Button";
export default defineComponent({
setup() {
function submit() {
if (confirm('Sync videos! Are you sure?')) {
- Inertia.post('/sync-videos');
+ Inertia.post(route('channels.show.sync-videos', this.channel.id));
}
}
@@ -49,9 +126,12 @@ export default defineComponent({
},
props: {
channel: Object,
+ videos: Object,
},
components: {
+ Button,
AppLayout,
+ Pagination
},
})
diff --git a/resources/js/Pages/Channels/index.vue b/resources/js/Pages/Channels/index.vue
index 92fef17..870b424 100644
--- a/resources/js/Pages/Channels/index.vue
+++ b/resources/js/Pages/Channels/index.vue
@@ -20,12 +20,12 @@
id="name" type="text" placeholder="Username">
-