Merged PR 130: Edit and delete messages. Removed option for report
Edit and delete messages. Removed option for report
This commit is contained in:
@@ -31,9 +31,6 @@
|
||||
<v-list-item v-if="creatorIsCurrentUser" @click="openDeleteConfirmationDialog">
|
||||
<v-list-item-title>Effacer le contenu</v-list-item-title>
|
||||
</v-list-item>
|
||||
<v-list-item @click="reportContent">
|
||||
<v-list-item-title>Reporter le contenu</v-list-item-title>
|
||||
</v-list-item>
|
||||
</v-list>
|
||||
</v-menu>
|
||||
</div>
|
||||
@@ -225,10 +222,6 @@ async function deleteContent() {
|
||||
}
|
||||
}
|
||||
|
||||
function reportContent() {
|
||||
console.log('Reporter le contenu');
|
||||
}
|
||||
|
||||
function redirectToContent() {
|
||||
window.location.href = `/content/${props.content.id}`;
|
||||
}
|
||||
|
||||
@@ -31,9 +31,6 @@
|
||||
<v-list-item v-if="creatorIsCurrentUser" @click="openDeleteConfirmationDialog">
|
||||
<v-list-item-title>{{$t('contentCard.delete')}}</v-list-item-title>
|
||||
</v-list-item>
|
||||
<v-list-item @click="reportContent">
|
||||
<v-list-item-title>{{$t('contentCard.report')}}</v-list-item-title>
|
||||
</v-list-item>
|
||||
</v-list>
|
||||
</v-menu>
|
||||
</div>
|
||||
@@ -218,10 +215,6 @@ async function deleteContent() {
|
||||
}
|
||||
}
|
||||
|
||||
function reportContent() {
|
||||
console.log('Reporter le contenu');
|
||||
}
|
||||
|
||||
function redirectToContent() {
|
||||
window.location.href = `/content/${props.content.id}`;
|
||||
}
|
||||
|
||||
@@ -31,9 +31,6 @@
|
||||
<v-list-item v-if="creatorIsCurrentUser" @click="openDeleteConfirmationDialog">
|
||||
<v-list-item-title>{{ $t('contentCard.delete') }}</v-list-item-title>
|
||||
</v-list-item>
|
||||
<v-list-item @click="reportContent">
|
||||
<v-list-item-title>{{ $t('contentCard.report') }}</v-list-item-title>
|
||||
</v-list-item>
|
||||
</v-list>
|
||||
</v-menu>
|
||||
</div>
|
||||
@@ -217,10 +214,6 @@ async function deleteContent() {
|
||||
}
|
||||
}
|
||||
|
||||
function reportContent() {
|
||||
console.log('Reporter le contenu');
|
||||
}
|
||||
|
||||
function redirectToContent() {
|
||||
window.location.href = `/content/${props.content.id}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user