Closed JulianKingman closed 7 years ago
are you trying to add a standalone link or are you trying to add a link connected to a collection?
Standalone, to a custom template (fsDashboard
).
After looking at examples, I realized what was wrong. The permissions were wrong, and I needed to add the template by the right name:
/**
* Created by Julian on 3/22/17.
*/
import { Meteor } from 'meteor/meteor';
import { scorpius } from 'meteor/scorpiusjs:core';
import './imports/fsDashboard.html';
import './imports/routes';
//
Meteor.startup(() => {
ReactiveTemplates.set('fsDashboard', 'fsDashboard');
scorpius.links.add({
identifier: 'fantasysuite-dashboard',
title: 'Admin Functions',
routeName: 'fsDashboard',
permission: 'config.update',
index: 40,
});
});
I saw this: https://github.com/orionjs/orion/issues/88
But I'm not getting the link to actually show up. Here's what I have:
All in client: