Fix JS imports on page after project deploy token creation
The bug
After creating a project deploy token, not all Javascript is initialized, leaving some parts of the current page unusable.
We discovered this in !95477 (comment 1078425592) while fixing a similar issue for the group deploy token form. Please see this discussion for a more detailed description and a screencast of the bug.
The fix 🤞
It should just work to do the same we have done for groups and just import '../show/index'; instead of trying to duplicate its behavior.
See app/assets/javascripts/pages/groups/settings/repository/create_deploy_token/index.js.