Unverified Commit b8c39a57 authored by Martin Cech's avatar Martin Cech
Browse files

change language to relocate

parent 03111fad
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ const emit = defineEmits<{
}>();

const fromWhat = "This dataset location is";
const toWhat = "This dataset will be moved to";
const toWhat = "This dataset will be relocated to";
</script>

<template>
@@ -32,7 +32,7 @@ const toWhat = "This dataset will be moved to";
                :object-store="fromObjectStore"
                @click="emit('closeModal')" />
        </b-button-group>
        <p class="move-to">Select new storage location for the dataset:</p>
        <p class="relocate-to">Select new storage location for the dataset:</p>
        <b-button-group vertical size="lg" class="select-button-group">
            <ObjectStoreSelectButton
                v-for="objectStore in targetObjectStores"
@@ -62,7 +62,7 @@ const toWhat = "This dataset will be moved to";
    margin: auto;
    width: 400px;
}
.move-to {
.relocate-to {
    margin-top: 2em;
}
</style>
+2 −2
Original line number Diff line number Diff line
@@ -89,13 +89,13 @@ async function relocate(objectStoreId: string) {

<template>
    <span class="storage-relocate-link">
        <SelectModal v-if="currentObjectStore" v-model="showModal" title="Move Dataset">
        <SelectModal v-if="currentObjectStore" v-model="showModal" title="Relocate Dataset">
            <RelocateDialog
                :from-object-store="currentObjectStore"
                :target-object-stores="validTargets"
                @relocate="relocate"
                @closeModal="closeModal" />
        </SelectModal>
        <BButton v-if="relocatable" @click="showModal = true">Move Dataset</BButton>
        <BButton v-if="relocatable" @click="showModal = true">Relocate Dataset</BButton>
    </span>
</template>