mirror of
https://github.com/getredash/redash.git
synced 2025-12-25 01:03:20 -05:00
Merge branch 'master' of https://github.com/getredash/redash into design/new-data-source+query-editor
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import settingsMenu from '@/lib/settings-menu';
|
||||
import { Paginator } from '@/lib/pagination';
|
||||
import template from './list.html';
|
||||
|
||||
@@ -11,6 +12,12 @@ function SnippetsCtrl($location, currentUser, Events, QuerySnippet) {
|
||||
}
|
||||
|
||||
export default function init(ngModule) {
|
||||
settingsMenu.add({
|
||||
permission: 'create_query',
|
||||
title: 'Query Snippets',
|
||||
path: 'query_snippets',
|
||||
});
|
||||
|
||||
ngModule.component('snippetsListPage', {
|
||||
template,
|
||||
controller: SnippetsCtrl,
|
||||
|
||||
Reference in New Issue
Block a user