READMESource: main@97b5b18c
This plugin adds a "invert selection" button when adding models from the auto-fetched list of the providers, so only the ones we already have are checked.
![]()
INSTALLATION
- clone this repo, then copy its content into
/home/dshuser/.dsh/profiles/<profile>/plugins/models-invert-selection - add the plugin to the
<profile>/package.jsonby appending it to the dependencies and bundle like in this example:
{
"name": "dsh-profile-web",
"private": true,
"dependencies": {
"dsh-ui-models-invert-selection": "file:./plugins/models-invert-selection"
},
"dsh": {
"profile": {
"bundles": [
"dsh-ui-models-invert-selection"
]
}
}
}
- from the profile's directory i.e.
/home/dshuser/.dsh/profiles/web, we runpnpm install, be aware that you need to be the correct user, root might fail. - restart the container/service
REMOVAL
- delete the
/home/dshuser/.dsh/profiles/<profile>/plugins/models-invert-selection - remove the relative lines from the
<profile>/package.json - rerun the
pnpm installas we did in the installation - restart the container/service
No comments yet. Be the first to write one.