List cleanup on remove (#1069)

* 💄 Hide Add to List option on own profile

*  Remove Lists tab when last list is removed

*  Add listener to list delete on profile screen

*  Only show save changes in list modal when changes are made
This commit is contained in:
Foysal Ahamed 2023-07-28 18:04:27 +02:00 committed by GitHub
parent 38d78e16bf
commit eec300d772
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 60 additions and 12 deletions

View file

@ -217,6 +217,8 @@ export class ListModel {
records.map(record => createDel(record.uri)),
),
})
this.rootStore.emitListDeleted(this.uri)
}
async subscribe() {