store flags for songs
This commit is contained in:
@@ -8,6 +8,7 @@ export interface Song {
|
||||
text: string;
|
||||
title: string;
|
||||
type: string;
|
||||
flags: string;
|
||||
|
||||
legalType: string;
|
||||
legalLink: string;
|
||||
|
||||
@@ -41,6 +41,7 @@ export class TextRenderingService {
|
||||
}
|
||||
|
||||
public parse(text: string): Section[] {
|
||||
if (!text) return [];
|
||||
const arrayOfLines = text.split(/\r?\n/).filter(_ => _);
|
||||
const indices = {
|
||||
[SectionType.Bridge]: 0,
|
||||
|
||||
Reference in New Issue
Block a user