1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-19 17:52:45 +02:00
unleash.unleash/frontend/src/component/admin
andreas-unleash 6037542fc0
fix: Make api token environment selector accept environments (#3379)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->
Makes the api token environment selector accept options to allow
different environment to be passed in according to the use case ie use
all envs when creating api tokens and use project envs when creating
project scoped tokens
## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

<!-- Does it close an issue? Multiple? -->
Closes [#
1-811](https://linear.app/unleash/issue/1-811/change-environment-dropdown-to-show-all-environments-enabled-for-the)

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#
-->

### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->

---------

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
2023-03-28 13:11:07 +03:00
..
apiToken fix: Make api token environment selector accept environments (#3379) 2023-03-28 13:11:07 +03:00
auth feat: dark theme v1 (#3298) 2023-03-22 16:37:40 +02:00
billing refactor: light theme colors (#3252) 2023-03-06 12:58:36 +02:00
cors clear warnings (#3053) 2023-02-07 08:41:23 +01:00
groups feat: dark theme v1 (#3298) 2023-03-22 16:37:40 +02:00
instance-admin feat: Instance stats for export/import (#3121) 2023-02-15 14:39:16 +02:00
invoice feat: dark theme v1 (#3298) 2023-03-22 16:37:40 +02:00
maintenance refactor: light theme colors (#3252) 2023-03-06 12:58:36 +02:00
menu feat: remove maintenance feature flag (#3199) 2023-02-27 15:36:56 +02:00
network fix: properly escaping app names (#3368) 2023-03-22 10:40:22 +01:00
projectRoles fix: remove all warnings (#3055) 2023-02-07 11:20:44 +01:00
serviceAccounts UI/bulk select (#3267) 2023-03-14 08:56:03 +00:00
users feat: dark theme v1 (#3298) 2023-03-22 16:37:40 +02:00
Admin.tsx fix: add container for EditGroups (#3318) 2023-03-15 15:23:59 +01:00
AdminRedirect.tsx
LazyAdmin.tsx
LazyAdminExport.tsx