File tree Expand file tree Collapse file tree
layers/primitive-tooltip/app/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,5 +17,9 @@ BUILD_LATEST=${BUILD_LATEST:-true}
1717BUILD_REPO = " git@github.com:NetLogo/docs.git"
1818BUILD_BRANCH = " main"
1919
20+ # We will enable it when it is planned
21+ # for release
22+ NUXT_PRIM_TOOLTIP_DISABLED = 1
23+
2024# Enable for Development
2125# NUXT_DEV_TOOLS=true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -8,7 +8,5 @@ PRODUCT_DISPLAY_NAME=
88PRODUCT_BUILD_DATE = $( date +%Y-%m-%dT%H:%M:%SZ)
99PRODUCT_WEBSITE = " https://www.netlogo.org"
1010
11- NUXT_PRIM_TOOLTIP_DISABLED = 1
12-
1311# Enable for Development
1412# NUXT_DEV_TOOLS=true
Original file line number Diff line number Diff line change 1717.DS_Store
1818.fleet
1919.idea
20+
21+ # Environment variables
22+ .env
23+ .env. * .local
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ const props = defineProps<Props>();
121121const isNested = inject <boolean >(" prim-tooltip-nested" , false );
122122provide (" prim-tooltip-nested" , true );
123123
124- const isDisabledGlobally = process .env . NUXT_PRIM_TOOLTIP_DISABLED === " 1" ;
124+ const isDisabledGlobally = process .env [ " NUXT_PRIM_TOOLTIP_DISABLED" ] === " 1" ;
125125const isDisabled = inject <boolean >(" prim-tooltip-disabled" , isDisabledGlobally );
126126
127127const { primitive } = isDisabled ? useNoPrimitive () : await usePrimitive ({ name: props .name });
You can’t perform that action at this time.
0 commit comments