add onlySharedAccess option to apps list
This commit is contained in:
parent
1ab17ace37
commit
b00604b89e
1 changed files with 3 additions and 0 deletions
|
|
@ -81,8 +81,10 @@ import MkUserCardMini from '@/components/MkUserCardMini.vue';
|
||||||
const list = ref<InstanceType<typeof FormPagination>>();
|
const list = ref<InstanceType<typeof FormPagination>>();
|
||||||
|
|
||||||
const props = withDefaults(defineProps<{
|
const props = withDefaults(defineProps<{
|
||||||
|
onlySharedAccess?: boolean,
|
||||||
limit?: number,
|
limit?: number,
|
||||||
}>(), {
|
}>(), {
|
||||||
|
onlySharedAccess: false,
|
||||||
limit: 100,
|
limit: 100,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -91,6 +93,7 @@ const pagination = computed(() => ({
|
||||||
limit: props.limit,
|
limit: props.limit,
|
||||||
params: {
|
params: {
|
||||||
sort: '+lastUsedAt',
|
sort: '+lastUsedAt',
|
||||||
|
onlySharedAccess: props.onlySharedAccess,
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue