mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-09 03:32:56 +00:00
42 lines
914 B
Vue
42 lines
914 B
Vue
<template>
|
|
<div class="card floating">
|
|
<div class="card-content">
|
|
<p>{{ $t("prompts.deleteMessageShare", { path: "" }) }}</p>
|
|
</div>
|
|
<div class="card-action">
|
|
<button
|
|
@click="$store.commit('closeHovers')"
|
|
class="button button--flat button--grey"
|
|
:aria-label="$t('buttons.cancel')"
|
|
:title="$t('buttons.cancel')"
|
|
>
|
|
{{ $t("buttons.cancel") }}
|
|
</button>
|
|
<button
|
|
@click="submit"
|
|
class="button button--flat button--red"
|
|
:aria-label="$t('buttons.delete')"
|
|
:title="$t('buttons.delete')"
|
|
>
|
|
{{ $t("buttons.delete") }}
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { mapState } from "vuex";
|
|
|
|
export default {
|
|
name: "share-delete",
|
|
computed: {
|
|
...mapState(["showConfirm"]),
|
|
},
|
|
methods: {
|
|
submit: function () {
|
|
this.showConfirm();
|
|
},
|
|
},
|
|
};
|
|
</script>
|