add support for v0.46.1
This commit is contained in:
parent
5ce328c6b2
commit
e0a008b466
@ -50,8 +50,11 @@ export default class Proposal {
|
|||||||
}
|
}
|
||||||
|
|
||||||
versionFixed(ver) {
|
versionFixed(ver) {
|
||||||
if (compareVersions(ver, '0.40') >= 0) {
|
if (compareVersions(ver, '0.46') >= 0) {
|
||||||
// do nothing
|
if (this.element.metadata) {
|
||||||
|
this.title = this.element.metadata.title || this.element.metadata
|
||||||
|
this.description = this.element.metadata.description || this.element.metadata
|
||||||
|
}
|
||||||
} else if (compareVersions(ver, '0.30') >= 0) {
|
} else if (compareVersions(ver, '0.30') >= 0) {
|
||||||
switch (this.element.proposal_status) {
|
switch (this.element.proposal_status) {
|
||||||
case 'Passed':
|
case 'Passed':
|
||||||
|
Loading…
Reference in New Issue
Block a user