Fix25.1: стабилизирован auth_id flow и unlimited-семантика, усилен bootstrap secrets
This commit is contained in:
@@ -99,7 +99,7 @@ const dialog = reactive({ visible: false, title: "", editId: 0 });
|
||||
const dataForm = reactive<PeerSaveDto & { id?: number }>({
|
||||
name: "",
|
||||
secret: "",
|
||||
quotaBytes: 0,
|
||||
quotaBytes: -1,
|
||||
expiresAt: getMonthLater(),
|
||||
maxDevices: 3,
|
||||
disabled: 0,
|
||||
@@ -123,7 +123,7 @@ async function handleQuery() {
|
||||
}
|
||||
|
||||
function handleAdd() {
|
||||
Object.assign(dataForm, { id: undefined, name: "", secret: "", quotaBytes: 0, expiresAt: getMonthLater(), maxDevices: 3, disabled: 0, remark: "" });
|
||||
Object.assign(dataForm, { id: undefined, name: "", secret: "", quotaBytes: -1, expiresAt: getMonthLater(), maxDevices: 3, disabled: 0, remark: "" });
|
||||
dialog.title = t("common.add");
|
||||
dialog.editId = 0;
|
||||
dialog.visible = true;
|
||||
|
||||
Reference in New Issue
Block a user