mirror of
https://github.com/wekan/wekan.git
synced 2025-12-29 21:58:49 +01:00
Run database migrations when opening board. Not when updating WeKan.
Thanks to xet7 !
This commit is contained in:
parent
ea30612013
commit
2b5c56484a
20 changed files with 2508 additions and 118 deletions
31
client/components/boardConversionProgress.js
Normal file
31
client/components/boardConversionProgress.js
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
import { Template } from 'meteor/templating';
|
||||
import { ReactiveVar } from 'meteor/reactive-var';
|
||||
import { boardConverter } from '/imports/lib/boardConverter';
|
||||
|
||||
Template.boardConversionProgress.helpers({
|
||||
isConverting() {
|
||||
return boardConverter.isConverting.get();
|
||||
},
|
||||
|
||||
conversionProgress() {
|
||||
return boardConverter.conversionProgress.get();
|
||||
},
|
||||
|
||||
conversionStatus() {
|
||||
return boardConverter.conversionStatus.get();
|
||||
},
|
||||
|
||||
conversionEstimatedTime() {
|
||||
return boardConverter.conversionEstimatedTime.get();
|
||||
}
|
||||
});
|
||||
|
||||
Template.boardConversionProgress.onCreated(function() {
|
||||
// Subscribe to conversion state changes
|
||||
this.autorun(() => {
|
||||
boardConverter.isConverting.get();
|
||||
boardConverter.conversionProgress.get();
|
||||
boardConverter.conversionStatus.get();
|
||||
boardConverter.conversionEstimatedTime.get();
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue