mobile UI: remove obsolete access to already removed model role

We no longer have a dive role - on the plus side, we also don't use this
variable, so I guess this isn't a big deal.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-01-12 22:01:39 -08:00
parent b92b5998ff
commit 45d37fd51b

View file

@ -253,7 +253,6 @@ Kirigami.Page {
// set things up for editing - so make sure that the detailsEdit has
// all the right data (using the property aliases set up above)
var dive = currentItem.modelData.dive
var modelData = currentItem.modelData
dive_id = modelData.id
number = modelData.number