1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-10 16:10:55 +00:00
The Great Maintenance Update. No new features here. Instead, we've updated the build system to webpack 4, updated all our dependencies, and cleaned up a lot of linting issues.
This commit is contained in:
SirStendec 2019-06-20 15:15:54 -04:00
parent 014eb203c3
commit 33e81bc7eb
60 changed files with 238 additions and 209 deletions

View file

@ -13,8 +13,7 @@
</div>
<ul v-else class="ffz--term-list tw-mg-t-05">
<term-editor
v-for="term in val"
v-if="term.t !== 'inherit'"
v-for="term in terms"
:key="term.id"
:term="term.v"
:colored="item.colored"
@ -54,6 +53,19 @@ export default {
for(const val of this.val)
if ( val.t === 'inherit' )
return true;
return false;
},
terms() {
const out = [];
if ( Array.isArray(this.val) )
for(const term of this.val)
if ( term && term.t !== 'inherit' )
out.push(term);
return out;
},
val() {