mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
Fix: allow multi pipeline file to be named .drone.yml (#250)
This commit is contained in:
parent
41f2bc026d
commit
830b03619e
2 changed files with 3 additions and 4 deletions
|
@ -33,7 +33,7 @@ class ProcListHolder extends Component {
|
|||
|
||||
return (
|
||||
<div className={styles.list}>
|
||||
{renderName && vars.name !== "drone" ? (
|
||||
{renderName ? (
|
||||
<div
|
||||
onClick={this.toggleOpen}
|
||||
className={`${styles.group} ${groupExpandStatus}`}
|
||||
|
@ -60,9 +60,9 @@ class ProcListHolder extends Component {
|
|||
|
||||
export class ProcList extends Component {
|
||||
render() {
|
||||
const { repo, build, rootProc, selectedProc, renderName } = this.props;
|
||||
const { repo, build, rootProc, selectedProc } = this.props;
|
||||
return (
|
||||
<ProcListHolder vars={rootProc} renderName={renderName}>
|
||||
<ProcListHolder vars={rootProc} renderName={build.procs.length > 1}>
|
||||
{this.props.rootProc.children.map(function(child) {
|
||||
return (
|
||||
<Link
|
||||
|
|
|
@ -207,7 +207,6 @@ export default class BuildLogs extends Component {
|
|||
build={build}
|
||||
rootProc={rootProc}
|
||||
selectedProc={selectedProc}
|
||||
renderName={build.procs.length > 1}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue