mirror of
https://github.com/Telecominfraproject/wlan-cloud-ui.git
synced 2025-10-30 02:12:39 +00:00
Merge pull request #42 from Telecominfraproject/feature/TW-975
Feature/TW-975: Captive User List & Radius
This commit is contained in:
@@ -80,6 +80,11 @@ const ProfileDetails = () => {
|
||||
const { data: ssidProfiles } = useQuery(GET_ALL_PROFILES(), {
|
||||
variables: { customerId, type: 'ssid' },
|
||||
});
|
||||
|
||||
const { data: radiusProfiles } = useQuery(GET_ALL_PROFILES(), {
|
||||
variables: { customerId, type: 'radius' },
|
||||
});
|
||||
|
||||
const [updateProfile] = useMutation(UPDATE_PROFILE);
|
||||
const [deleteProfile] = useMutation(DELETE_PROFILE);
|
||||
|
||||
@@ -170,6 +175,7 @@ const ProfileDetails = () => {
|
||||
ssidProfiles={
|
||||
(ssidProfiles && ssidProfiles.getAllProfiles && ssidProfiles.getAllProfiles.items) || []
|
||||
}
|
||||
radiusProfiles={radiusProfiles?.getAllProfiles?.items}
|
||||
fileUpload={handleFileUpload}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user