full refresh model can be called from command

This commit is contained in:
Jan Prochazka
2022-06-02 08:40:05 +02:00
parent a8047560af
commit a6f6680788
3 changed files with 12 additions and 5 deletions

View File

@@ -18,11 +18,17 @@ registerCommand({
};
return [
{
text: 'Sync model',
text: 'Sync model (incremental)',
onClick: () => {
apiCall('database-connections/sync-model', dbid);
},
},
{
text: 'Sync model (full)',
onClick: () => {
apiCall('database-connections/sync-model', { ...dbid, isFullRefresh: true });
},
},
{
text: 'Reopen',
onClick: () => {