remove last SMButton
This commit is contained in:
@@ -27,11 +27,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<!-- <SMButton
|
<button type="button" @click="handleClickAdd">Add media</button>
|
||||||
type="secondary"
|
|
||||||
:small="true"
|
|
||||||
label="Add media"
|
|
||||||
@click="handleClickAdd" /> -->
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -43,7 +39,6 @@ import { Media, MediaResponse } from "../helpers/api.types";
|
|||||||
import { bytesReadable } from "../helpers/types";
|
import { bytesReadable } from "../helpers/types";
|
||||||
import { getFilePreview } from "../helpers/utils";
|
import { getFilePreview } from "../helpers/utils";
|
||||||
import SMDialogMedia from "./dialogs/SMDialogMedia.vue";
|
import SMDialogMedia from "./dialogs/SMDialogMedia.vue";
|
||||||
import SMButton from "../components/SMButton.vue";
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
modelValue: {
|
modelValue: {
|
||||||
|
|||||||
@@ -86,12 +86,12 @@
|
|||||||
:value="editMultiple ? 'Save All' : 'Save'" />
|
:value="editMultiple ? 'Save All' : 'Save'" />
|
||||||
</template>
|
</template>
|
||||||
<template #left>
|
<template #left>
|
||||||
<SMButton
|
<button
|
||||||
:form="form"
|
|
||||||
v-if="route.params.id"
|
v-if="route.params.id"
|
||||||
type="danger"
|
type="button"
|
||||||
:label="editMultiple ? 'Delete All' : 'Delete'"
|
@click="handleDelete">
|
||||||
@click="handleDelete" />
|
{{ editMultiple ? "Delete All" : "Delete" }}
|
||||||
|
</button>
|
||||||
</template>
|
</template>
|
||||||
</SMColumn>
|
</SMColumn>
|
||||||
</SMRow>
|
</SMRow>
|
||||||
|
|||||||
Reference in New Issue
Block a user