Commit f0d78c1
committed
fix: Fix clearing the new password
"newPassword" is internally delegated by the share object to
"_share.newPassword" through getter and setter properties. Therefore
deleting "newPassword" has no effect, as there is no such attribute,
and it should be set to undefined instead.
Now that "newPassword" is correctly cleared "Set password" is no longer
checked if the share of a password is removed, the share is updated, and
the share is customized again (without reloading the page in the
meantime).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>1 parent d1e75c4 commit f0d78c1
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
330 | | - | |
| 330 | + | |
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | | - | |
| 401 | + | |
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1258 | 1258 | | |
1259 | 1259 | | |
1260 | 1260 | | |
1261 | | - | |
| 1261 | + | |
1262 | 1262 | | |
1263 | 1263 | | |
1264 | 1264 | | |
| |||
0 commit comments