Fix api call and delete tenantid on domain page
This commit is contained in:
@@ -142,7 +142,6 @@ const columns = [
|
||||
{ name: 'url', align: 'center', label: 'Domain', field: 'url', sortable: true },
|
||||
{ name: 'kintoneuser', label: 'User', field: 'kintoneuser', sortable: true },
|
||||
{ name: 'kintonepwd' },
|
||||
{ name: 'active', field: 'active' }
|
||||
];
|
||||
const userDomainTableFilter = ref();
|
||||
|
||||
@@ -250,7 +249,7 @@ const getDomain = async (userId? : string) => {
|
||||
// TODO
|
||||
return;
|
||||
}
|
||||
const resp = await api.get(`api/activedomain`);
|
||||
const resp = await api.get(`api/defaultdomain`);
|
||||
activeDomainId.value = resp?.data?.data?.id;
|
||||
const domainResult = userId ? await api.get(`api/domain?userId=${userId}`) : await api.get(`api/domain`);
|
||||
const domains = domainResult.data as any[];
|
||||
|
||||
Reference in New Issue
Block a user