Advertisement
Guest User

Untitled

a guest
Dec 14th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. template(
  2.                     v-for="(thing, index) in thingMutable.things"
  3.                     )
  4.                     thing(
  5.                       v-if="index < limitMutable && !optIn('dont-load-children') && thing"
  6.                       :thing="thing"
  7.                       :index="index"
  8.                       :key="thing._id || thing.uuid || thing"
  9.                       :parentId="thingMutable._id || _uid"
  10.                       :parentOptions=`childOptions`
  11.                       :style=`{
  12.                         order: ( optIn('put-things-first') && !optIn('new', thing.names) ) ? 2
  13.                         : ( optIn('put-things-last') && !optIn('new', thing.names) ) ? 4
  14.                         : ( optIn('put-new-things-first') && optIn('new', thing.names) ) ? 2
  15.                         : ( optIn('put-new-things-last') && optIn('new', thing.names) ) ? 4
  16.                         : 3 }`
  17.                       @remove="deleteChildThing(index)"
  18.                       )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement