# fix\(web\): turning a retention rule on no longer saves 8 days first · pingdotgg/t3code

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

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

Visibility: public

Requested revision: 095182815fae93e1661068267d69f17d19b10a01

Requested commit: 095182815fae93e1661068267d69f17d19b10a01

Commit: 095182815fae93e1661068267d69f17d19b10a01

Tree: d8ea51712ac09b09ce92266e19106245d68d9e96

Author: macodev00

Committer: macodev00

## Message

```
fix(web): turning a retention rule on no longer saves 8 days first

Enabling a retention switch published 8 days immediately, so cleanup could
run before the user chose an age. The switch now opens a local draft and
saves only when that age is committed. Leaving or cancelling the draft keeps
the rule off. Turning an enabled rule off still saves immediately.

```

## Parents

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

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