|
@@ -5,29 +5,14 @@
|
|
<table class="table is-striped">
|
|
<table class="table is-striped">
|
|
<thead>
|
|
<thead>
|
|
<tr>
|
|
<tr>
|
|
- <td>Song ID</td>
|
|
|
|
<td>Summary</td>
|
|
<td>Summary</td>
|
|
|
|
+ <td>YouTube / Song ID</td>
|
|
<td>Categories Included</td>
|
|
<td>Categories Included</td>
|
|
<td>Options</td>
|
|
<td>Options</td>
|
|
</tr>
|
|
</tr>
|
|
</thead>
|
|
</thead>
|
|
<tbody>
|
|
<tbody>
|
|
<tr v-for="report in reports" :key="report._id">
|
|
<tr v-for="report in reports" :key="report._id">
|
|
- <td>
|
|
|
|
- <span>
|
|
|
|
- <a
|
|
|
|
- :href="
|
|
|
|
- 'https://www.youtube.com/watch?v=' +
|
|
|
|
- `${report.song.youtubeId}`
|
|
|
|
- "
|
|
|
|
- target="_blank"
|
|
|
|
- >
|
|
|
|
- {{ report.song.youtubeId }}</a
|
|
|
|
- >
|
|
|
|
- <br />
|
|
|
|
- {{ report.song._id }}
|
|
|
|
- </span>
|
|
|
|
- </td>
|
|
|
|
<td>
|
|
<td>
|
|
<div class="report-item-header">
|
|
<div class="report-item-header">
|
|
<div class="report-item-info">
|
|
<div class="report-item-info">
|
|
@@ -71,6 +56,22 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</td>
|
|
|
|
+ <td>
|
|
|
|
+ <span>
|
|
|
|
+ <a
|
|
|
|
+ :href="
|
|
|
|
+ 'https://www.youtube.com/watch?v=' +
|
|
|
|
+ `${report.song.youtubeId}`
|
|
|
|
+ "
|
|
|
|
+ target="_blank"
|
|
|
|
+ >
|
|
|
|
+ {{ report.song.youtubeId }}</a
|
|
|
|
+ >
|
|
|
|
+ <br />
|
|
|
|
+ {{ report.song._id }}
|
|
|
|
+ </span>
|
|
|
|
+ </td>
|
|
|
|
+
|
|
<td id="categories-column">
|
|
<td id="categories-column">
|
|
<ul>
|
|
<ul>
|
|
<li
|
|
<li
|
|
@@ -119,6 +120,8 @@
|
|
:report-id="viewingReportId"
|
|
:report-id="viewingReportId"
|
|
sector="admin"
|
|
sector="admin"
|
|
/>
|
|
/>
|
|
|
|
+
|
|
|
|
+ <edit-song v-if="modals.editSong" song-type="songs" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -136,6 +139,9 @@ export default {
|
|
ViewReport: defineAsyncComponent(() =>
|
|
ViewReport: defineAsyncComponent(() =>
|
|
import("@/components/modals/ViewReport.vue")
|
|
import("@/components/modals/ViewReport.vue")
|
|
),
|
|
),
|
|
|
|
+ EditSong: defineAsyncComponent(() =>
|
|
|
|
+ import("@/components/modals/EditSong/index.vue")
|
|
|
|
+ ),
|
|
ProfilePicture
|
|
ProfilePicture
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|