# fix\(web\): reset retention drafts when the settings scope changes · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/8fb4132647d7ca62fda085b98e260622851ede26)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 8fb4132647d7ca62fda085b98e260622851ede26

Requested commit: 8fb4132647d7ca62fda085b98e260622851ede26

Commit: 8fb4132647d7ca62fda085b98e260622851ede26

Tree: 35b2b85dc3c301bd55a426800c326538bcd36ec8

Author: macodev00

Committer: macodev00

## Message

```
fix(web): reset retention drafts when the settings scope changes

RetentionControl only replaced its draft when the saved age changed, so a
scope with the same age kept the previous draft and could save it. Key each
control by the selected targets. A late null from an off save no longer
clears a draft the user already reopened.

```

## Parents

- [d6f9c58214ad7a77865d4a7032df4dbe187163ed](https://git.cafe/pingdotgg/t3code/commit/d6f9c58214ad7a77865d4a7032df4dbe187163ed?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/8fb4132647d7ca62fda085b98e260622851ede26?format=markdown)
