Except as otherwise provided by the articles of organization or written operating agreement, a derivative action may not be discontinued or settled without the court's approval. If the court determines that a proposed discontinuance or settlement will substantially affect the interests of the limited liability company's members, the court shall direct that notice be given to the members affected.