mlevit / aws-auto-cleanup

Programmatically delete AWS resources based on an allowlist and time to live (TTL) settings
MIT License
496 stars 55 forks source link

How to hide whitelist entries/items that are in the permanent whitelist? #89

Closed atqhg23 closed 2 years ago

atqhg23 commented 2 years ago

Is your feature request related to a problem? Please describe. No, sorry to keep bombarding with questions. I am trying to hide the items that are part of the permanent whitelist. I've been testing trying to make changes to the index files and css file, but have not gotten this working.

Describe the solution you'd like Hide the items in the permanent whitelist.

Describe alternatives you've considered A drop-down could be added for the permanent whitelist section so that the permanent entries are only shown when the drop-down is clicked.

atqhg23 commented 2 years ago

Change line 180 in the index.html file from this

<tr v-for="item in whitelist" :key="item.row_id">

to this

<tr v-for="item in whitelist" :key="item.row_id" v-if="item.expiration < '4102444800'">