提交 1b79be48 编写于 作者: B Benjamin Pasero

web - fix product version regression

上级 d83eabbd
......@@ -17,7 +17,7 @@ export class ProductService implements IProductService {
this.productConfiguration = element ? JSON.parse(element.getAttribute('data-settings')!) : null;
}
get version(): string { return this.productConfiguration ? this.productConfiguration.version : 'Unknown'; }
get version(): string { return this.productConfiguration && this.productConfiguration.version ? this.productConfiguration.version : '1.38.0-unknown'; }
get commit(): string | undefined { return this.productConfiguration ? this.productConfiguration.commit : undefined; }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册