diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-05-05 12:27:45 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-05-05 12:27:45 +1000 |
| commit | 6ff26ab72ec507698f43e86fd59188a3a3fbee54 (patch) | |
| tree | 92c553f7100f6b12719ad144a0371e5be136f701 /src/tol.ts | |
| parent | f7c43e02cadbca0546655187bd75eba274a481b7 (diff) | |
Make image copyright/link info retrieved upon info-modal open
Diffstat (limited to 'src/tol.ts')
| -rw-r--r-- | src/tol.ts | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -10,20 +10,12 @@ export class TolNode { parent: string | null; tips: number; pSupport: boolean; - img: null | { - filename: string, - eolId: string, - sourceUrl: string, - license: string, - copyrightOwner: string - }; - desc: null | [string, boolean]; + imgName: null | string; constructor(children: string[] = [], parent = null, tips = 0, pSupport = false){ this.children = children; this.parent = parent; this.tips = tips; this.pSupport = pSupport; - this.img = null; - this.desc = null; + this.imgName = null; } } |
