Sha256: 0700dbb515c2397b8cf08631a35d64e4361dc1746f1184905eb85f89c5522361

Contents?: true

Size: 255 Bytes

Versions: 9

Compression:

Stored size: 255 Bytes

Contents

import { CocoComponent } from "@js/coco";
import { navigateTo } from "@helpers/location";

export default CocoComponent("appSidebarNavMenu", () => {
  return {
    navigateTo(url) {
      if (url !== "") {
        navigateTo(url);
      }
    },
  };
});

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
coveragebook_components-0.10.0 app/components/coco/app/blocks/sidebar_nav/menu/menu.js
coveragebook_components-0.9.1 app/components/coco/app/blocks/sidebar_nav/menu/menu.js
coveragebook_components-0.9.0 app/components/coco/app/blocks/sidebar_nav/menu/menu.js
coveragebook_components-0.8.9 app/components/coco/app/blocks/sidebar_nav/menu/menu.js
coveragebook_components-0.8.8 app/components/coco/app/blocks/sidebar_nav/menu/menu.js
coveragebook_components-0.8.7 app/components/coco/app/blocks/sidebar_nav/menu/menu.js
coveragebook_components-0.8.6 app/components/coco/app/blocks/sidebar_nav/menu/menu.js
coveragebook_components-0.8.5 app/components/coco/app/blocks/sidebar_nav/menu/menu.js
coveragebook_components-0.8.4 app/components/coco/app/blocks/sidebar_nav/menu/menu.js