This commit is contained in:
serogaq 2024-11-13 14:25:46 +03:00
parent a300e131f3
commit 4a72e9cae8
No known key found for this signature in database
GPG key ID: 6657A27160536D7E

View file

@ -331,7 +331,7 @@
<a-form layout="inline"> <a-form layout="inline">
<a-form-item style="margin-right: 0.5rem;"> <a-form-item style="margin-right: 0.5rem;">
<a-input-group compact> <a-input-group compact>
<a-select size="small" v-model="logDomainsModal.rows" style="width:70px;" <a-select size="small" v-model="logDomainsModal.rows" style="width:90px;"
@change="openLogDomains()" :dropdown-class-name="themeSwitcher.currentTheme"> @change="openLogDomains()" :dropdown-class-name="themeSwitcher.currentTheme">
<a-select-option value="500">Few</a-select-option> <a-select-option value="500">Few</a-select-option>
<a-select-option value="2500">Medium</a-select-option> <a-select-option value="2500">Medium</a-select-option>
@ -676,7 +676,7 @@
}, },
async openLogDomains(){ async openLogDomains(){
logDomainsModal.loading = true; logDomainsModal.loading = true;
const msg = await HttpUtil.get('server/logs-'.+(logDomainsModal.type==='blocked'?'blocked':'sniffed')+.'/'+logDomainsModal.rows); const msg = await HttpUtil.get('server/logs-'+(logDomainsModal.type==='blocked'?'blocked':'sniffed')+'/'+logDomainsModal.rows);
if (!msg.success) { if (!msg.success) {
return; return;
} }