Skip to content

Commit 830d976

Browse files
authored
Load all projects user authorized to see in projects dropdown list on Add Network Page (#8)
Load all projects user authorized to see in projects dropdown list on Add Network Page. Also enable the page size and search feature to search the list behind the default load
1 parent 717d910 commit 830d976

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

ui/src/views/network/CreateNetworkPermission.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
api="listProjects"
5050
:apiParams="projectsApiParams"
5151
resourceType="project"
52+
:pageSize="100"
5253
defaultIcon="project-outlined" />
5354
</a-form-item>
5455
<a-form-item v-if="!isAdminOrDomainAdmin()">
@@ -121,7 +122,9 @@ export default {
121122
},
122123
projectsApiParams () {
123124
return {
124-
details: 'min'
125+
details: 'min',
126+
listall: true,
127+
timestamp: this.timestamp
125128
}
126129
}
127130
},

0 commit comments

Comments
 (0)