# tasks: Use unique id for run indicator \(\#11846\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/26ffdaffe2b36ee955c721afac1a19011577d234)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 26ffdaffe2b36ee955c721afac1a19011577d234

Requested commit: 26ffdaffe2b36ee955c721afac1a19011577d234

Commit: 26ffdaffe2b36ee955c721afac1a19011577d234

Tree: 17c0a387f788390f7acfa3ba438d9670b2bba5ce

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
tasks: Use unique id for run indicator (#11846)

This fixes a small visual issue with the run indicator. As all run
indicators use the same element id they all show up as pressed when
clicking on a single button. We can safely use a combination of
"run_indicator" and the actual row as the element id, as there can only
ever be one run indicator per line.

Before:

<img width="552" alt="Screenshot 2024-05-15 at 12 24 08"
src="https://github.com/zed-industries/zed/assets/53836821/18779f1a-0984-488f-83fd-4a6a561f223e">

After:

<img width="633" alt="image"
src="https://github.com/zed-industries/zed/assets/53836821/07ea26b5-06ad-4955-8250-d96d4704220c">


Release Notes:

- Fixed an issue where all run buttons would show up as pressed when
clicking on a single run button
```

## Parents

- [266643440c94d883190feff2f36650476e78e6a4](https://git.cafe/gitcafe/zed/commit/266643440c94d883190feff2f36650476e78e6a4?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/26ffdaffe2b36ee955c721afac1a19011577d234?format=markdown)
