mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-09 18:38:33 +00:00
GH-423: Do not copy copyright from about dialog
Closes arduino/arduino-pro-ide#423 Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
@@ -38,7 +38,7 @@ export class About extends Contribution {
|
|||||||
Date: ${buildDate ? buildDate : 'dev build'}${buildDate && showAll ? ` (${this.ago(buildDate)})` : ''}
|
Date: ${buildDate ? buildDate : 'dev build'}${buildDate && showAll ? ` (${this.ago(buildDate)})` : ''}
|
||||||
CLI Version: ${version}${cliStatus ? ` ${cliStatus}` : ''} [${commit}]
|
CLI Version: ${version}${cliStatus ? ` ${cliStatus}` : ''} [${commit}]
|
||||||
|
|
||||||
Copyright © ${new Date().getFullYear()} Arduino SA
|
${showAll ? `Copyright © ${new Date().getFullYear()} Arduino SA` : ''}
|
||||||
`;
|
`;
|
||||||
const ok = 'OK';
|
const ok = 'OK';
|
||||||
const copy = 'Copy';
|
const copy = 'Copy';
|
||||||
@@ -55,7 +55,7 @@ Copyright © ${new Date().getFullYear()} Arduino SA
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (buttons[response] === copy) {
|
if (buttons[response] === copy) {
|
||||||
await this.clipboardService.writeText(detail(false));
|
await this.clipboardService.writeText(detail(false).trim());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user