refactor: beforeExpiresAtの初期値はundefinedの方がいい
This commit is contained in:
parent
5d35a37ccf
commit
0ee451af73
|
@ -88,7 +88,7 @@ const value = computed({
|
|||
expirationDate: null,
|
||||
expiresAt: 'indefinitely',
|
||||
forward: false,
|
||||
beforeExpiresAt: null,
|
||||
beforeExpiresAt: undefined,
|
||||
};
|
||||
for (const [key, _value] of Object.entries(data)) {
|
||||
if (_value === null) {
|
||||
|
|
Loading…
Reference in New Issue