~arx10/procustodibus-app

4093acbf46f0ac25ed5c971dd304bcfb05dcbbe5 — Justin Ludwig a month ago 595ee84
normalize clamp_mss extras value

to a boolean, even if saved as a string
M src/components/interface/interface-advanced-panel.vue => src/components/interface/interface-advanced-panel.vue +6 -2
@@ 115,10 115,14 @@ export default {
      return this.routing.meta.expected || {}
    },
    extras() {
      return this.routing.attr.extras || {}
      const extras = this.routing.attr.extras || {}
      extras.clamp_mss = extras.clamp_mss && extras.clamp_mss !== 'false'
      return extras
    },
    extrasExpected() {
      return this.expected.extras || {}
      const extras = this.expected.extras || {}
      extras.clamp_mss = extras.clamp_mss && extras.clamp_mss !== 'false'
      return extras
    },
    iface() {
      return this.model

M src/components/interface/interface-edit-panel.vue => src/components/interface/interface-edit-panel.vue +1 -0
@@ 361,6 361,7 @@ export default {
      const iface = v.meta.expected || v.attr
      const routing = v.rel('routing').meta.expected || v.rel('routing').attr
      const extras = routing.extras || {}
      extras.clamp_mss = extras.clamp_mss && extras.clamp_mss !== 'false'

      this.up = !edit || !!iface.up
      this.name = iface.name || ''