mirror of
https://github.com/Spythere/station-manager-2.0.git
synced 2026-05-03 21:48:14 +00:00
hotfix usuwania scenerii & changeloga
This commit is contained in:
@@ -39,8 +39,8 @@ export default defineComponent({
|
||||
const sceneryId = sceneryData.id;
|
||||
|
||||
// Sceneria niewpisana do bazy danych (id stworzone przez stronę)
|
||||
if (sceneryId.startsWith('#')) {
|
||||
this.store.changeList.filter((item) => item.id != sceneryId);
|
||||
if (sceneryId.toString().startsWith('#')) {
|
||||
this.store.changeList = this.store.changeList.filter((item) => item.id != sceneryId);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user