Skip to content
Snippets Groups Projects
Commit eb05486d authored by AndiMajore's avatar AndiMajore
Browse files

updated to drugst.one 1.1.4; fixed issue when loading empty entries in standalone as nodes

parent 87126b34
Branches
No related tags found
No related merge requests found
......@@ -10,8 +10,8 @@ import { ThemeService } from 'src/app/services/theme.service';
styleUrls: ['./app.component.scss'],
})
export class AppComponent {
public version = "1.1.12"
public cdnVersion = "prod/v1.1.12"
public version = "1.1.14"
public cdnVersion = "prod/v1.1.14"
public host = "https://drugst.one"
public cdn = "https://cdn.drugst.one"
public backendPath = "https://api.drugst.one/"
......
......@@ -401,7 +401,7 @@ export class StandaloneComponent implements OnInit {
getNodes(list: string, delim: string): Object[] {
// @ts-ignore
return list.split(delim).map(entry => {
return list.split(delim).filter(entry=>entry != null && entry.length > 0).map(entry => {
let name = entry.trim()
return {id: name, group: this.group, label: name}
})
......
......@@ -51,8 +51,8 @@
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/highlight.min.js"></script>
<!-- Latest release (dock1) -->
<script type="text/javascript" src="https://cdn.drugst.one/v1.1.12/prod/drugstone.js"></script>
<link rel="stylesheet" href="https://cdn.drugst.one/v1.1.12/prod/styles.css">
<script type="text/javascript" src="https://cdn.drugst.one/v1.1.14/prod/drugstone.js"></script>
<link rel="stylesheet" href="https://cdn.drugst.one/v1.1.14/prod/styles.css">
<!-- <script type="text/javascript" src="https://cdn.drugst.one/nightly/drugstone.js"></script>-->
<!-- <link rel="stylesheet" href="https://cdn.drugst.one/nightly/styles.css">-->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment