MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / getCheckColor

Function getCheckColor

public/iframe/lib/js/mixinsComponents.js:1531–1536  ·  view source on GitHub ↗
(status)

Source from the content-addressed store, hash-verified

1529 },
1530 methods: {
1531 getCheckColor(status) {
1532 const index = this.option.checkColorList.findIndex(item => {
1533 return item.label === status
1534 })
1535 return index != -1 && this.option.checkColorList[index].color
1536 }
1537 },
1538 template: `<ul class="checkList">
1539 <li v-for="(item,index) in option.data" :key="index">

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected