I am using vueJs computed to create options for my component like this:

```
computed:{
  fileOptions() {
    let fileOptions = [
      {
        event:'event',
        name:'Abcd',
        disabled://based upon some condition,
        display://based upon some condition
      },
      {
        event://based upon some condition,
        name:'Open Presentation',
        disabled://based upon some condition,
        display://based upon some condition
      },
    ]
  }
}

```

The event, disabled and display property are based upon multiple conditions.

One way of doing this is by using ternary operator

```
disabled:this.state.libraryActive=='presentations'?false:true

```

However, it is easy for one condition but for multiple conditions it becomes difficult.

Any suggestions?