[Android] Fix vue warnings for logs

Nicolas Pomepuy git at videolan.org
Thu Feb 22 13:29:25 UTC 2024


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Feb  7 10:10:56 2024 +0100| [9dbd9b9ea6b0030bccb423b1f5275c9e7dfe3925] | committer: Nicolas Pomepuy

Fix vue warnings for logs

> https://code.videolan.org/videolan/vlc-android/commit/9dbd9b9ea6b0030bccb423b1f5275c9e7dfe3925
---

 buildsystem/network-sharing-server/src/components/LogItem.vue | 2 ++
 buildsystem/network-sharing-server/src/components/LogList.vue | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/buildsystem/network-sharing-server/src/components/LogItem.vue b/buildsystem/network-sharing-server/src/components/LogItem.vue
index 9e631fe4f0..a97eb9d0ff 100644
--- a/buildsystem/network-sharing-server/src/components/LogItem.vue
+++ b/buildsystem/network-sharing-server/src/components/LogItem.vue
@@ -29,6 +29,8 @@ export default {
   components: {
     ImageButton,
   },
+  emits: ['refresh-logs'],
+
   props: {
     logfile: Object
   },
diff --git a/buildsystem/network-sharing-server/src/components/LogList.vue b/buildsystem/network-sharing-server/src/components/LogList.vue
index 463683d95e..e778fb4329 100644
--- a/buildsystem/network-sharing-server/src/components/LogList.vue
+++ b/buildsystem/network-sharing-server/src/components/LogList.vue
@@ -31,7 +31,7 @@ export default {
     LogItem,
   },
   props: {
-    logs: []
+    logs: Array
   }
 
 }



More information about the Android mailing list