Skip to content

Commit

Permalink
fix: cms editor import (#194)
Browse files Browse the repository at this point in the history
* feat: component filter added (#176)

* fix: only add column when it doesn't exist (#167)

* fix: only add column when it doesn't exist

* style: formatting

* feat: export cms (#169)

* feat: import export

* feat: use file instead of database

* feat: move import/export to model

* fix: export from tableitem

* feat: move export to Trait

* style: formatting

* style: formatting

* fix: never use file as source of truth

* style: formatting

* chore: cleanup

* fix: use export to file

* feat: comment things that no longer work

* feat: add  meta data

* feat: list filenames

* feat: cleaner export

* feat: remove UI for import/export

* style: formatting

* feat: add import command

* feat: import from files

* feat: remove import UI

* feat: prevent editing tables with changes on disk

* feat: do not use id's in export for tables

* feat: optionally export ids

* feat: import ids when available

---------

Co-authored-by: Rene <rene@64k.nl>

* feat: component filter added

* feat: added filterparams

* feat: only query if filter exists

* feat: WIP

* feat: typed editor classes

* feat: editor changes

* feat: removed code

* feat: removed request from editor and overview

* feat: added TODO

* chore: update dependency

* feat: migration for model column in cms_table

* fix: retain model on import export cms_table

* feat: moved code to component

* feat: added guards

* style: formatting

* feat: parameters now in tableservice

* feat: removed parameter

* feat: removed request() from editor

* fix: return empty array if key not exists

* style: formatting

* style: formatting

---------

Co-authored-by: René <rene@64k.nl>

* fix: exceptions handling (#189)

* fix: exception handling

* style: formatting

* fix: return type

* feat: date helper (#191)

* feat: moved layoutbar to editor (#193)

* feat: moved layoutbar to editor

* style: formatting

* chore: remove unused methods

---------

Co-authored-by: Rene <rene@64k.nl>

* fix: do not crash when model is not set

---------

Co-authored-by: Xander Schuurman <44030544+keeama13@users.noreply.github.com>
  • Loading branch information
64knl and keeama13 committed Feb 1, 2024
1 parent ab6225b commit 1248eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helpers/CmsImportHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private function importTables(string $tableName): object
$table->id = $fileSource->id;
}
$table->name = $fileSource->name;
$table->model = $fileSource->model;
$table->model = $fileSource->model ?? null;
$table->url = $fileSource->url;
$table->rights = $fileSource->rights;

Expand Down

0 comments on commit 1248eae

Please sign in to comment.