Add feature to add tags from the tag list to the search expression
Signed-off-by: trivernis <trivernis@protonmail.com>pull/4/head
parent
29eb82e687
commit
a50bb88ba8
@ -1,5 +1,11 @@
|
|||||||
export type Tag = {
|
export class Tag {
|
||||||
id: number,
|
constructor(
|
||||||
name: string,
|
public id: number,
|
||||||
namespace: string | undefined,
|
public name: string,
|
||||||
|
public namespace: string | undefined
|
||||||
|
) {}
|
||||||
|
|
||||||
|
public getNormalizedOutput(): string {
|
||||||
|
return this.namespace ? this.namespace + ':' + this.name : this.name
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue