change button to use SMButton

This commit is contained in:
2023-02-28 10:16:19 +10:00
parent 2ca199d98f
commit 86d5706aac

View File

@@ -27,7 +27,11 @@
</div>
</li>
</ul>
<a class="button" @click.prevent="handleClickAdd">Add media</a>
<SMButton
type="seconday"
:small="true"
label="Add media"
@click="handleClickAdd" />
</div>
</template>
@@ -39,6 +43,7 @@ import { Media, MediaResponse } from "../helpers/api.types";
import { bytesReadable } from "../helpers/types";
import { getFilePreview } from "../helpers/utils";
import SMDialogMedia from "./dialogs/SMDialogMedia.vue";
import SMButton from "../components/SMButton.vue";
const props = defineProps({
modelValue: {