Skip to content

Commit

Permalink
Hide spinners and timelines
Browse files Browse the repository at this point in the history
  • Loading branch information
smellyshovel committed Jun 30, 2022
1 parent e7bdbfe commit dd52504
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 22 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"ammap3": "^3.21.15",
"axios": "^0.21.1",
"chart.js": "^2.9.4",
"epic-spinners": "^1.1.0",
"flag-icon-css": "^4.1.7",
"font-awesome": "^4.7.0",
"maplibre-gl": "^2.1.9",
Expand Down
16 changes: 8 additions & 8 deletions src/components/sidebar/NavigationRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,18 +153,18 @@ export default {
name: "spacing",
displayName: "menu.spacing",
},
{
name: "spinners",
displayName: "menu.spinners",
},
// {
// name: "spinners",
// displayName: "menu.spinners",
// },
{
name: "tabs",
displayName: "menu.tabs",
},
{
name: "timelines",
displayName: "menu.timelines",
},
// {
// name: "timelines",
// displayName: "menu.timelines",
// },
{
name: "tree-view",
displayName: "menu.treeView",
Expand Down
26 changes: 13 additions & 13 deletions src/pages/admin/ui/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ export default {
wikiLink: "https://github.com/epicmaxco/vuestic-admin/wiki/Color-Pickers",
},
},
{
name: "timelines",
path: "timelines",
component: () => import("../../../pages/admin/ui/timelines/Timelines.vue"),
meta: {
wikiLink: "https://github.com/epicmaxco/vuestic-admin/wiki/Timelines",
},
},
// {
// name: "timelines",
// path: "timelines",
// component: () => import("../../../pages/admin/ui/timelines/Timelines.vue"),
// meta: {
// wikiLink: "https://github.com/epicmaxco/vuestic-admin/wiki/Timelines",
// },
// },
{
name: "notifications",
path: "notifications",
Expand Down Expand Up @@ -73,11 +73,11 @@ export default {
},
],
},
{
name: "spinners",
path: "spinners",
component: () => import("../../../pages/admin/ui/spinners/Spinners.vue"),
},
// {
// name: "spinners",
// path: "spinners",
// component: () => import("../../../pages/admin/ui/spinners/Spinners.vue"),
// },
{
name: "grid",
path: "grid",
Expand Down
5 changes: 5 additions & 0 deletions src/pages/admin/ui/spinners/Spinners.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@
</template>

<script setup lang="ts">
/**
* HIDDEN FROM THE ADMIN! SEE src/components/sidebar/NavigationRoutes.ts AND src/pages/admin/ui/route.ts TO REVEAL.
* ALSO INSTALL THE DEPENDENCY "epic-spinners": "^1.1.0" (OR HIGHER WHEN IT'S UPDATED)!
*/
import * as spinners from "epic-spinners";
import { useColors, useGlobalConfig } from "vuestic-ui";
import VaIconFaster from "../../../../components/icons/VaIconFaster.vue";
Expand Down
4 changes: 4 additions & 0 deletions src/pages/admin/ui/timelines/Timelines.vue
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@
</template>

<script setup lang="ts">
/**
* HIDDEN FROM THE ADMIN! SEE src/components/sidebar/NavigationRoutes.ts AND src/pages/admin/ui/route.ts TO REVEAL.
*/
import { computed } from "vue";
import { useI18n } from "vue-i18n";
const { t } = useI18n();
Expand Down

0 comments on commit dd52504

Please sign in to comment.