Skip to content

Commit

Permalink
fix: migrate conflictpicker to NcDialog and remove incorrect semantic…
Browse files Browse the repository at this point in the history
… closing icon

Signed-off-by: Eduardo Morales <[email protected]>
  • Loading branch information
emoral435 committed Mar 13, 2024
1 parent 928be53 commit d1107ff
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lib/components/ConflictPicker.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<template>
<NcModal class="conflict-picker"
<NcDialog class="conflict-picker"
data-cy-conflict-picker
:close-on-click-outside="false"
:canClose="false"
:show="opened"
size="large"
@close="onCancel">
Expand Down Expand Up @@ -67,7 +68,7 @@
{{ t('Continue') }}
</NcButton>
</div>
</NcModal>
</NcDialog>
</template>

<script lang="ts">
Expand All @@ -81,7 +82,7 @@ import Vue from 'vue'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch.js'
import NcModal from '@nextcloud/vue/dist/Components/NcModal.js'
import NcDialog from '@nextcloud/vue/dist/Components/NcDialog.js'
import ArrowRight from 'vue-material-design-icons/ArrowRight.vue'
import Close from 'vue-material-design-icons/Close.vue'
Expand All @@ -99,7 +100,7 @@ export default Vue.extend({
Close,
NcButton,
NcCheckboxRadioSwitch,
NcModal,
NcDialog,
NodesPicker,
},
Expand Down Expand Up @@ -372,7 +373,7 @@ export default Vue.extend({
position: sticky;
z-index: 10;
top: 0;
padding: var(--margin);
padding: 0 var(--margin);
padding-bottom: 0;
}
Expand Down

0 comments on commit d1107ff

Please sign in to comment.