MT#64432 Delete redundant code

Change-Id: If8e0ee9a2785809128be0e707420e909aba905a2
mr26.0
Debora Crescenzo 4 months ago
parent ff40864da0
commit 19f2e6c0c2

@ -37,13 +37,6 @@ export default {
state.pagination = { ...state.pagination, ...pagination }
},
setSharedValue (state, { id, value }) {
const index = state.phonebookRows.findIndex((row) => {
return row.id === id
})
if (index > -1) {
state.phonebookRows[index].shared = value
}
// Also update in phonebookRows if present
const rowIndex = state.phonebookRows.findIndex((row) => row.id === id)
if (rowIndex > -1) {
state.phonebookRows[rowIndex].shared = value

Loading…
Cancel
Save