Skip to content

Commit

Permalink
Adjust usage of nextcloud libraries
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Nov 7, 2023
1 parent 6a9cc34 commit 960da2c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
14 changes: 7 additions & 7 deletions src/AdminSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<tr>
<td class="retention-rule__name">
<NcMultiselectTags v-model="newTag"
<NcSelectTags v-model="newTag"
:disabled="loading"
:multiple="false"
:filter="filterAvailableTagList"
Expand All @@ -42,7 +42,7 @@
type="text"
:label="amountLabel"
:placeholder="''" />
<NcMultiselect v-model="newUnit"
<NcSelect v-model="newUnit"
:disabled="loading"
:options="unitOptions"
:allow-empty="false"
Expand All @@ -51,7 +51,7 @@
:close-on-select="true" />
</td>
<td class="retention-rule__after">
<NcMultiselect v-model="newAfter"
<NcSelect v-model="newAfter"
:disabled="loading"
:options="afterOptions"
:allow-empty="false"
Expand Down Expand Up @@ -86,8 +86,8 @@
<script>
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch.js'
import NcMultiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
import NcMultiselectTags from '@nextcloud/vue/dist/Components/NcMultiselectTags.js'
import NcSelect from '@nextcloud/vue/dist/Components/NcSelect.js'
import NcSelectTags from '@nextcloud/vue/dist/Components/NcSelectTags.js'
import Plus from 'vue-material-design-icons/Plus.vue'
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection.js'
import NcTextField from '@nextcloud/vue/dist/Components/NcTextField.js'
Expand All @@ -103,8 +103,8 @@ export default {
components: {
NcButton,
NcCheckboxRadioSwitch,
NcMultiselect,
NcMultiselectTags,
NcSelect,
NcSelectTags,
Plus,
RetentionRule,
NcSettingsSection,
Expand Down
3 changes: 0 additions & 3 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ import { getRequestToken } from '@nextcloud/auth'
import AdminSettings from './AdminSettings.vue'
import store from './store/index.js'

// Styles
import '@nextcloud/dialogs/dist/index.css'

Vue.use(Vuex)

// eslint-disable-next-line
Expand Down

0 comments on commit 960da2c

Please sign in to comment.